Skip to content

Commit 008ef58

Browse files
committed
chore: rename spy
1 parent 8e26a21 commit 008ef58

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/lwc-dev-server/index.e2e.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ const logger = {
2424

2525
describe('lwc-dev-server e2e', () => {
2626
const $$ = new TestContext();
27-
let spy: sinon.SinonSpy;
27+
let processExitSpy: sinon.SinonSpy;
2828

2929
beforeEach(() => {
30-
spy = $$.SANDBOX.stub(process, 'exit');
30+
processExitSpy = $$.SANDBOX.stub(process, 'exit');
3131
});
3232

3333
afterEach(() => {
@@ -40,6 +40,6 @@ describe('lwc-dev-server e2e', () => {
4040

4141
expect(server).to.be.an.instanceOf(LWCServer);
4242
server.stopServer();
43-
expect(spy.calledWith(0)).to.be.true;
43+
expect(processExitSpy.calledWith(0)).to.be.true;
4444
});
4545
});

0 commit comments

Comments
 (0)