Skip to content

Commit

Permalink
Unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Schmid committed Mar 9, 2018
1 parent 7a2fd46 commit 1c5fbc7
Show file tree
Hide file tree
Showing 2 changed files with 88 additions and 1 deletion.
1 change: 1 addition & 0 deletions index.test.js
Expand Up @@ -30,6 +30,7 @@ describe('ServerlessWebpack', () => {
mockery.enable({ useCleanCache: true, warnOnUnregistered: false });
mockery.registerMock('ts-node/register', {});
mockery.registerMock('webpack', {});
mockery.registerMock('fs-extra', {});

ServerlessWebpack = require('./index');
sandbox.spy(Module, '_load');
Expand Down

0 comments on commit 1c5fbc7

Please sign in to comment.