Skip to content

Commit

Permalink
Add test files related to Node bundling
Browse files Browse the repository at this point in the history
  • Loading branch information
shawwn committed Jan 5, 2018
1 parent 164c6b2 commit 900e034
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/integration/node/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
const req = {
send() {
console.log('MEOW!');
}
};

const test = require('./test');
test(req);
3 changes: 3 additions & 0 deletions test/integration/node/test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = function test(req) {
req.send();
};

0 comments on commit 900e034

Please sign in to comment.