diff --git a/package.json b/package.json index c8d4d11..035a443 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/integration.js test/monorepos.js", + "test": "c8 --reporter=text --reporter=text-summary --reporter=lcov node --test --test-reporter=spec test/integration.js test/integrationOther.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 99d614f..99376c5 100644 --- a/test/integration.js +++ b/test/integration.js @@ -176,7 +176,7 @@ describe('duel', () => { assert.equal(statusEsm, 0) }) - it('supports both builds output to directories', async t => { + it.skip('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('supports import attributes and ts import assertion resolution mode', async t => { + it.skip('supports import attributes and ts import assertion resolution mode', async t => { const spy = t.mock.method(global.console, 'log') t.after(async () => { @@ -204,7 +204,7 @@ describe('duel', () => { ) }) - it('works as a cli script', () => { + it.skip('works as a cli script', () => { const resp = execSync(`${resolve('./src/duel.js')} -h`, { shell, cwd: resolve(__dirname, '..'), @@ -213,7 +213,7 @@ describe('duel', () => { assert.ok(resp.toString().indexOf('Options:') > -1) }) - it('reports compilation errors during a build', async t => { + it.skip('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('reports an error when no package.json file found', async t => { + it.skip('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 65ca69d..b883e7b 100644 --- a/test/integrationOther.js +++ b/test/integrationOther.js @@ -31,7 +31,7 @@ describe('duel', () => { await rmDist(plainDist) }) - 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 () => { @@ -46,7 +46,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 () => { @@ -59,7 +59,7 @@ describe('duel', () => { ) }) - it.skip('works as a cli script', () => { + it('works as a cli script', () => { const resp = execSync(`${resolve('./src/duel.js')} -h`, { shell, cwd: resolve(__dirname, '..'), @@ -68,7 +68,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') @@ -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 () => {