Skip to content

Commit eae4786

Browse files
committed
test: ✅ add template coverage
1 parent ecc0f04 commit eae4786

20 files changed

Lines changed: 20 additions & 20 deletions

File tree

apps/1-recipe-search-solution/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default defineConfig({
66
cacheDir: '../../node_modules/.vite/tests/whiskmate',
77
optimizeDeps: { include: ['tslib'] },
88
plugins: [
9-
analog()
9+
analog({ jit: false })
1010
/**
1111
* Disable angularVitestPlugin because it includes @angular/cdk and its side-effect
1212
* is that we end up with two instances of the module. This can cause the following error

apps/1-recipe-search-solution/vitest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default mergeConfig(
2424
reporters: ['default'],
2525
coverage: {
2626
reportsDirectory: '../../coverage/apps/whiskmate',
27-
provider: 'v8',
27+
provider: 'istanbul',
2828
},
2929
watch: false,
3030
pool: 'threads',

apps/1-recipe-search-starter/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default defineConfig({
66
cacheDir: '../../node_modules/.vite/tests/whiskmate',
77
optimizeDeps: { include: ['tslib'] },
88
plugins: [
9-
analog()
9+
analog({ jit: false })
1010
/**
1111
* Disable angularVitestPlugin because it includes @angular/cdk and its side-effect
1212
* is that we end up with two instances of the module. This can cause the following error

apps/1-recipe-search-starter/vitest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default mergeConfig(
2424
reporters: ['default'],
2525
coverage: {
2626
reportsDirectory: '../../coverage/apps/whiskmate',
27-
provider: 'v8',
27+
provider: 'istanbul',
2828
},
2929
watch: false,
3030
pool: 'threads',

apps/2-test-double-solution/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default defineConfig({
66
cacheDir: '../../node_modules/.vite/tests/whiskmate',
77
optimizeDeps: { include: ['tslib'] },
88
plugins: [
9-
analog()
9+
analog({ jit: false })
1010
/**
1111
* Disable angularVitestPlugin because it includes @angular/cdk and its side-effect
1212
* is that we end up with two instances of the module. This can cause the following error

apps/2-test-double-solution/vitest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default mergeConfig(
2424
reporters: ['default'],
2525
coverage: {
2626
reportsDirectory: '../../coverage/apps/whiskmate',
27-
provider: 'v8',
27+
provider: 'istanbul',
2828
},
2929
watch: false,
3030
pool: 'threads',

apps/2-test-double-starter/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default defineConfig({
66
cacheDir: '../../node_modules/.vite/tests/whiskmate',
77
optimizeDeps: { include: ['tslib'] },
88
plugins: [
9-
analog()
9+
analog({ jit: false })
1010
/**
1111
* Disable angularVitestPlugin because it includes @angular/cdk and its side-effect
1212
* is that we end up with two instances of the module. This can cause the following error

apps/2-test-double-starter/vitest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default mergeConfig(
2424
reporters: ['default'],
2525
coverage: {
2626
reportsDirectory: '../../coverage/apps/whiskmate',
27-
provider: 'v8',
27+
provider: 'istanbul',
2828
},
2929
watch: false,
3030
pool: 'threads',

apps/3-refactor-solution/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default defineConfig({
66
cacheDir: '../../node_modules/.vite/tests/whiskmate',
77
optimizeDeps: { include: ['tslib'] },
88
plugins: [
9-
analog()
9+
analog({ jit: false })
1010
/**
1111
* Disable angularVitestPlugin because it includes @angular/cdk and its side-effect
1212
* is that we end up with two instances of the module. This can cause the following error

apps/3-refactor-solution/vitest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default mergeConfig(
2424
reporters: ['default'],
2525
coverage: {
2626
reportsDirectory: '../../coverage/apps/whiskmate',
27-
provider: 'v8',
27+
provider: 'istanbul',
2828
},
2929
watch: false,
3030
pool: 'threads',

0 commit comments

Comments
 (0)