Skip to content

Commit

Permalink
Replace compilers flag with require
Browse files Browse the repository at this point in the history
The mocha `--compilers` flag is deprecated in favor of `--require`:
https://github.com/mochajs/mocha/wiki/compilers-deprecation
  • Loading branch information
vially committed May 9, 2020
1 parent bbc09f0 commit e468e16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/mocha.opts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
--compilers ts:ts-node/register
spec/**/*-spec.ts
--require ts-node/register
spec/**/*-spec.ts

0 comments on commit e468e16

Please sign in to comment.