Skip to content

Commit

Permalink
refactor: replace mocha with node:test (#1697)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando authored Sep 21, 2023
1 parent d6fd3a8 commit 069605b
Show file tree
Hide file tree
Showing 21 changed files with 2,955 additions and 2,265 deletions.
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ module.exports = {
commonjs: true,
es2021: true,
node: true,
mocha: true,
},
extends: [
'airbnb-base',
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/mqttjs-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
node-version: [18.x, 20.x]
fail-fast: false

steps:
Expand All @@ -38,7 +38,8 @@ jobs:
npm run lint
- name: Test NodeJS
run: npm run test:node # npx mocha test/unique_message_id_provider_client.js --exit
run: npm run test:node
timeout-minutes: 5
env:
CI: true
DEBUG: "${{ runner.debug == '1' && 'mqttjs:*' || '' }}"
Expand Down
10 changes: 0 additions & 10 deletions .mocharc.js

This file was deleted.

Loading

0 comments on commit 069605b

Please sign in to comment.