Skip to content

Commit

Permalink
Upgrade mocha to run TS
Browse files Browse the repository at this point in the history
  • Loading branch information
jridgewell committed Feb 24, 2024
1 parent 7626d31 commit 7ad940a
Show file tree
Hide file tree
Showing 5 changed files with 2,074 additions and 3,528 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:

strategy:
matrix:
latest-node-version: [16.x]
node-version: [6.x, 8.x, 10.x, 12.x, 14.x, 16.x]
latest-node-version: [20.x]
node-version: [18.x, 20.x]

steps:
- uses: actions/checkout@v1
Expand Down
5 changes: 3 additions & 2 deletions .mocharc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
module.exports = {
spec: ['test/**/*.test.js'],
}
spec: ['test/**/*.test.ts'],
'node-option': ['import=tsx'],
};

0 comments on commit 7ad940a

Please sign in to comment.