diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bdfe840..4520d77 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,8 +35,6 @@ jobs: - name: Lint run: npm run lint - name: Test - env: - NODE_OPTIONS: "--max-old-space-size=8192" run: npm test - name: Report Coverage uses: codecov/codecov-action@v4.5.0 diff --git a/package.json b/package.json index 5451664..c8d4d11 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "lint": "eslint src/*.js test/*.js", "test:integration": "node --test --test-reporter=spec test/integration.js", "test:monorepos": "node --test --test-reporter=spec test/monorepos.js", - "test": "c8 --reporter=text --reporter=text-summary --reporter=lcov node --test --test-reporter=spec test/integrationOther.js", + "test": "c8 --reporter=text --reporter=text-summary --reporter=lcov node --test --test-reporter=spec test/integration.js test/monorepos.js", "build": "node src/duel.js --dirs", "prepack": "npm run build" }, diff --git a/test/integration.js b/test/integration.js index 99376c5..29a69ea 100644 --- a/test/integration.js +++ b/test/integration.js @@ -176,7 +176,7 @@ describe('duel', () => { assert.equal(statusEsm, 0) }) - it.skip('supports both builds output to directories', async t => { + it('supports both builds output to directories', async t => { const spy = t.mock.method(global.console, 'log') t.after(async () => { @@ -191,7 +191,7 @@ describe('duel', () => { assert.ok(existsSync(resolve(proDist, 'cjs/index.cjs'))) }) - it.skip('supports import attributes and ts import assertion resolution mode', async t => { + it('supports import attributes and ts import assertion resolution mode', async t => { const spy = t.mock.method(global.console, 'log') t.after(async () => { @@ -213,7 +213,7 @@ describe('duel', () => { assert.ok(resp.toString().indexOf('Options:') > -1) }) - it.skip('reports compilation errors during a build', async t => { + it('reports compilation errors during a build', async t => { const spy = t.mock.method(global.console, 'log') const spyExit = t.mock.method(process, 'exit') @@ -234,7 +234,7 @@ describe('duel', () => { assert.equal(spy.mock.calls[1].arguments[1], 'Compilation errors found.') }) - it.skip('reports an error when no package.json file found', async t => { + it('reports an error when no package.json file found', async t => { const spy = t.mock.method(global.console, 'log') t.after(async () => { diff --git a/test/integrationOther.js b/test/integrationOther.js index 6245ce3..cbd4a8e 100644 --- a/test/integrationOther.js +++ b/test/integrationOther.js @@ -89,7 +89,7 @@ describe('duel', () => { assert.equal(spy.mock.calls[1].arguments[1], 'Compilation errors found.') }) - it.skip('reports an error when no package.json file found', async t => { + it('reports an error when no package.json file found', async t => { const spy = t.mock.method(global.console, 'log') t.after(async () => {