Skip to content

Commit

Permalink
chore: make tests platform-independent
Browse files Browse the repository at this point in the history
  • Loading branch information
danielduarte committed Oct 16, 2022
1 parent ed28042 commit 92a829b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/load-from-file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ describe('can run a flow', () => {
},
);
} catch (err) {
expect((err as Error).message).to.be.eql(`ENOENT: no such file or directory, open '${filepath}'`);
expect((err as Error).message).to.be.contain('ENOENT: no such file or directory, open');
expect((err as Error).message).to.be.contain('nowhere.flowed.json');
}
});

Expand Down

0 comments on commit 92a829b

Please sign in to comment.