Skip to content

Commit

Permalink
chore(repo): fix tsconfig spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Coly010 committed Dec 27, 2024
1 parent 69fbb4a commit 0b93838
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('Application Generator', () => {

// ASSERT
const project = readProjectConfiguration(tree, 'demo');
expect(project.targets.build).toMatchInlineSnapshot(`
expect(project.targets?.build).toMatchInlineSnapshot(`
{
"configurations": {
"development": {
Expand Down Expand Up @@ -54,7 +54,7 @@ describe('Application Generator', () => {
],
}
`);
expect(project.targets.serve).toMatchInlineSnapshot(`
expect(project.targets?.serve).toMatchInlineSnapshot(`
{
"configurations": {
"development": {
Expand All @@ -71,7 +71,7 @@ describe('Application Generator', () => {
},
}
`);
expect(project.targets['serve-static']).toMatchInlineSnapshot(`
expect(project.targets?.['serve-static']).toMatchInlineSnapshot(`
{
"executor": "@nx/web:file-server",
"options": {
Expand Down
3 changes: 2 additions & 1 deletion packages/nx-plugin/tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"jest.config.ts",
"src/**/*.test.ts",
"src/**/*.spec.ts",
"src/**/*.d.ts"
"src/**/*.d.ts",
"src/**/*.ts"
]
}

0 comments on commit 0b93838

Please sign in to comment.