diff --git a/packages/file-graph/tsconfig.json b/packages/file-graph/tsconfig.json index bf649ac..594a81a 100644 --- a/packages/file-graph/tsconfig.json +++ b/packages/file-graph/tsconfig.json @@ -1,9 +1,9 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "src", + // "rootDir": "src", "outDir": "./dist" }, - "include": ["src"], + "include": ["src", "tests"], "exclude": ["node_modules", "dist"] } diff --git a/tests/cypress/support/commands.ts b/tests/cypress/support/commands.ts index 86f2532..8f9f4c5 100644 --- a/tests/cypress/support/commands.ts +++ b/tests/cypress/support/commands.ts @@ -3,6 +3,7 @@ /// import '@testing-library/cypress/add-commands' +declare const expect: Chai.ExpectStatic declare global { namespace Cypress { interface Chainable { diff --git a/tests/tsconfig.json b/tests/tsconfig.json index 0862ad3..ce831eb 100644 --- a/tests/tsconfig.json +++ b/tests/tsconfig.json @@ -8,6 +8,7 @@ "exclude": [ "node_modules/cypress", "./cypress.config.mjs", - "../packages/utils/**/*.ts" + "../packages/utils/**/*.ts", + "../packages/file-graph/**/*.ts" ] }