Skip to content

Commit

Permalink
graph-explorer: migrate to node test
Browse files Browse the repository at this point in the history
  • Loading branch information
ludovicm67 committed Oct 9, 2024
1 parent 48a21cc commit 850ed1d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions packages/graph-explorer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"scripts": {
"coverage": "codecov",
"test": "c8 --all --reporter=lcovonly --reporter=text mocha"
"test": "c8 --all --reporter=lcovonly --reporter=text node --test **/*.test.js"
},
"dependencies": {
"@fastify/static": "^8.0.1",
Expand All @@ -26,7 +26,6 @@
"devDependencies": {
"@types/node": "^22.7.4",
"c8": "^10.1.2",
"mocha": "^10.7.3",
"trifid-core": "^5.0.0"
},
"publishConfig": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// @ts-check

import { strictEqual } from 'node:assert'
import { describe, it, beforeEach, afterEach } from 'node:test'

import trifidCore from 'trifid-core'
import { describe } from 'mocha'

import trifidPluginFactory from '../index.js'

Expand Down

0 comments on commit 850ed1d

Please sign in to comment.