1
0
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:
Thomas Wilkerling
2025-04-17 15:07:54 +02:00
parent c358bc2005
commit d20c1509b2
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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",