mirror of
https://github.com/nextapps-de/flexsearch.git
synced 2025-08-30 17:20:17 +02:00
set type to "module" in test/package.json
This commit is contained in:
2
.github/workflows/node.js.yml
vendored
2
.github/workflows/node.js.yml
vendored
@@ -52,7 +52,7 @@ jobs:
|
|||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run build --if-present
|
- run: npm run build:bundle --if-present
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
working-directory: test
|
working-directory: test
|
||||||
- run: npm test
|
- run: npm test
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "flexsearch-test",
|
"name": "flexsearch-test",
|
||||||
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "mocha ./*.js --exit",
|
"test": "mocha ./*.js --exit",
|
||||||
"test:coverage": "c8 -c ./.c8rc.json mocha ./*.js --exit",
|
"test:coverage": "c8 -c ./.c8rc.json mocha ./*.js --exit",
|
||||||
|
Reference in New Issue
Block a user