diff --git a/examples/type-checked/cypress/e2e/tsconfig.json b/examples/type-checked/cypress/tsconfig.json similarity index 100% rename from examples/type-checked/cypress/e2e/tsconfig.json rename to examples/type-checked/cypress/tsconfig.json diff --git a/package.json b/package.json index 3fad959..3fd727a 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "build": "pkgroll", "format": "prettier --write src", "type-check": "tsc --noEmit", - "test": "pkgroll && vitest --dir test --testTimeout 10000", + "test": "pkgroll && vitest --dir test --testTimeout 30000", "prepublishOnly": "pkgroll --clean-dist" }, "publishConfig": { diff --git a/test/index.spec.ts b/test/index.spec.ts index 10802ac..babf340 100644 --- a/test/index.spec.ts +++ b/test/index.spec.ts @@ -55,6 +55,7 @@ describe('should pass lint without error in new projects', () => { 'with-nightwatch', 'with-playwright', 'with-vitest', + 'type-checked', ]) { test(projectName, async () => { const { stdout } = await runLintAgainst(projectName) @@ -79,6 +80,7 @@ describe('should report error on recommended rule violations in .vue files', () 'with-nightwatch', 'with-playwright', 'with-vitest', + 'type-checked', ]) { test(`src/App.vue in ${projectName}`, async () => { const appVuePath = path.join( @@ -117,6 +119,7 @@ describe('should report error on recommended rule violations in other script fil 'with-nightwatch', 'with-playwright', 'with-vitest', + 'type-checked', ]) { test(`main.ts in ${projectName}`, async () => { const mainTsPath = path.join(