Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
killagu committed Sep 21, 2024
1 parent 590bbbf commit ece56f1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/config.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ function getError(config) {
}

describe('get config', function() {
afterEach(mm.restore);
afterEach(() => {
mm.restore();
delete process.env.XTRANSIT_NODE_EXE;
});

it('should throw error', function() {
expect(getError({})).to.be('config.server must be passed in!');
Expand Down

0 comments on commit ece56f1

Please sign in to comment.