Skip to content

Commit

Permalink
Update nodjs port fail test.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed Feb 18, 2021
1 parent 104afeb commit 6c5d2ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/ports/node_port/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "metacall",
"version": "0.3.6",
"version": "0.3.7",
"description": "Call Python, C#, Ruby... functions from NodeJS (a NodeJS Port for MetaCall)",
"repository": "github:metacall/core",
"bugs": "https://github.com/metacall/core/issues",
Expand Down
2 changes: 1 addition & 1 deletion source/ports/node_port/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ describe('metacall', () => {

describe('fail', () => {
it('require', () => {
assert.strictEqual(require('./asd.invalid'), undefined);
assert.throws(() => { require('./asd.invalid') }, new Error('Cannot find module \'./asd.invalid\''));
});
});

Expand Down

0 comments on commit 6c5d2ab

Please sign in to comment.