Skip to content

Commit

Permalink
er: 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 850ed1d commit ec32a52
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/entity-renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"main": "index.js",
"scripts": {
"example-instance": "node ./examples/run-instance.js",
"test": "c8 --all --reporter=lcovonly --reporter=text mocha"
"test": "c8 --all --reporter lcovonly --reporter text node --test **/*.test.js"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -34,7 +34,6 @@
"devDependencies": {
"@rdfjs/types": "^1.1.2",
"c8": "^10.1.2",
"mocha": "^10.7.3",
"trifid-handler-fetch": "^3.3.1",
"trifid-plugin-yasgui": "^3.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/entity-renderer/test/entity-renderer.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @ts-check

import { strictEqual } from 'node:assert'
import { describe, it, beforeEach, afterEach } from 'mocha'
import { describe, it, beforeEach, afterEach } from 'node:test'
import { getListenerURL } from 'trifid-core'

import { createTrifidInstance } from '../examples/instance.js'
Expand Down

0 comments on commit ec32a52

Please sign in to comment.