Skip to content

Commit

Permalink
fix(testing): update tsconfig.cy.json template file for generator (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
rathpc committed Oct 27, 2022
1 parent ee30e96 commit cc55cff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ describe('Cypress Component Project', () => {
'../**/*.cy.jsx',
'../**/*.d.ts',
]);
expect(cyTsConfig.compilerOptions.outDir).toEqual('../../../dist/out-tsc');
const libTsConfig = readJson(tree, 'libs/cool-lib/tsconfig.lib.json');
expect(libTsConfig.exclude).toEqual(
expect.arrayContaining([
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../../../dist/out-tsc",
"outDir": "<%= offsetFromRoot %>../dist/out-tsc",
"module": "commonjs",
"types": ["cypress", "node"]
},
Expand Down

0 comments on commit cc55cff

Please sign in to comment.