Skip to content

Commit f0f623c

Browse files
committed
Refactor to move tests to root
1 parent 7c65a63 commit f0f623c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"prepack": "npm run build && npm run format",
5757
"build": "tsc --build --clean && tsc --build && type-coverage",
5858
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
59-
"test-api": "node --conditions development test/index.js",
59+
"test-api": "node --conditions development test.js",
6060
"test-coverage": "c8 --check-coverage --100 --reporter lcov npm run test-api",
6161
"test": "npm run build && npm run format && npm run test-coverage"
6262
},

test/index.js renamed to test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import assert from 'node:assert/strict'
22
import test from 'node:test'
33
import stringify from 'json-stringify-safe'
44
import {parse, parseFragment} from 'parse5'
5-
import {toParse5} from '../index.js'
5+
import {toParse5} from './index.js'
66

77
test('core', () => {
88
assert.deepEqual(

0 commit comments

Comments
 (0)