Skip to content

Commit

Permalink
fix: test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
tomalaforge committed Feb 22, 2024
1 parent 2551d6d commit a41faf8
Show file tree
Hide file tree
Showing 40 changed files with 40 additions and 40 deletions.
2 changes: 1 addition & 1 deletion apps/angular/anchor-scrolling/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'angular-anchor-scrolling',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
coverageDirectory: '../../../coverage/apps/angular/anchor-scrolling',
transform: {
'^.+\\.(ts|mjs|js|html)$': [
Expand Down
2 changes: 1 addition & 1 deletion apps/angular/bug-cd/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'angular-bug-cd',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
coverageDirectory: '../../../coverage/apps/angular/bug-cd',
transform: {
'^.+\\.(ts|mjs|js|html)$': [
Expand Down
2 changes: 1 addition & 1 deletion apps/angular/crud/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'angular-crud',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
globals: {},
coverageDirectory: '../../../coverage/apps/angular/crud',
transform: {
Expand Down
2 changes: 1 addition & 1 deletion apps/angular/injection-token/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'angular-injection-token',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
coverageDirectory: '../../../coverage/apps/angular/injection-token',
transform: {
'^.+\\.(ts|mjs|js|html)$': [
Expand Down
2 changes: 1 addition & 1 deletion apps/angular/interop-rxjs-signal/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'angular-interop-rxjs-signal',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
coverageDirectory: '../../../coverage/apps/angular/interop-rxjs-signal',
transform: {
'^.+\\.(ts|mjs|js|html)$': [
Expand Down
2 changes: 1 addition & 1 deletion apps/angular/projection/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'angular-projection',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
globals: {},
coverageDirectory: '../../../coverage/apps/angular/projection',
transform: {
Expand Down
2 changes: 1 addition & 1 deletion apps/forms/control-value-accessor/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'forms-control-value-accessor',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
coverageDirectory: '../../../coverage/apps/forms/control-value-accessor',
transform: {
'^.+\\.(ts|mjs|js|html)$': [
Expand Down
2 changes: 1 addition & 1 deletion apps/ngrx/effect-selector/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'ngrx-effect-selector',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
globals: {},
coverageDirectory: '../../../coverage/apps/ngrx/effect-selector',
transform: {
Expand Down
2 changes: 1 addition & 1 deletion apps/performance/ngfor-optimize/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'performance-ngfor-optimize',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
coverageDirectory: '../../../coverage/apps/performance/ngfor-optimize',
transform: {
'^.+\\.(ts|mjs|js|html)$': [
Expand Down
2 changes: 1 addition & 1 deletion apps/performance/scroll-cd/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'performance-scroll-cd',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
globals: {},
coverageDirectory: '../../../coverage/apps/performance/scroll-cd',
transform: {
Expand Down
2 changes: 1 addition & 1 deletion apps/rxjs/catch-error/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'rxjs-catch-error',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
coverageDirectory: '../../../coverage/apps/rxjs/catch-error',
transform: {
'^.+\\.(ts|mjs|js|html)$': [
Expand Down
2 changes: 1 addition & 1 deletion apps/rxjs/race-condition/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'rxjs-race-condition',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
globals: {},
coverageDirectory: '../../../coverage/apps/rxjs/race-condition',
transform: {
Expand Down
2 changes: 1 addition & 1 deletion apps/testing/checkbox/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'testing-checkbox',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
coverageDirectory: '../../../coverage/apps/testing/checkbox',
transform: {
'^.+\\.(ts|mjs|js|html)$': [
Expand Down
2 changes: 1 addition & 1 deletion apps/testing/create-harness/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'testing-create-harness',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
transform: {
'^.+\\.(ts|mjs|js|html)$': [
'jest-preset-angular',
Expand Down
2 changes: 1 addition & 1 deletion apps/testing/harness/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'testing-harness',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
transform: {
'^.+\\.(ts|mjs|js|html)$': [
'jest-preset-angular',
Expand Down
2 changes: 1 addition & 1 deletion apps/testing/input-output/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'testing-input-output',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
transform: {
'^.+\\.(ts|mjs|js|html)$': [
'jest-preset-angular',
Expand Down
2 changes: 1 addition & 1 deletion apps/testing/modal/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'testing-modal',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
transform: {
'^.+\\.(ts|mjs|js|html)$': [
'jest-preset-angular',
Expand Down
2 changes: 1 addition & 1 deletion apps/testing/nested/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'testing-nested',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
transform: {
'^.+\\.(ts|mjs|js|html)$': [
'jest-preset-angular',
Expand Down
2 changes: 1 addition & 1 deletion apps/testing/router-outlet/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'testing-router-outlet',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
globals: {},
transform: {
'^.+\\.(ts|mjs|js|html)$': [
Expand Down
2 changes: 1 addition & 1 deletion apps/testing/table/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'testing-table',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
transform: {
'^.+\\.(ts|mjs|js|html)$': [
'jest-preset-angular',
Expand Down
2 changes: 1 addition & 1 deletion apps/testing/todos-list/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'testing-todos-list',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
transform: {
'^.+\\.(ts|mjs|js|html)$': [
'jest-preset-angular',
Expand Down
2 changes: 1 addition & 1 deletion libs/angular/di/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'angular/di',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
coverageDirectory: '../../../coverage/libs/angular/di',
transform: {
'^.+\\.(ts|mjs|js|html)$': [
Expand Down
2 changes: 1 addition & 1 deletion libs/decoupling/brain/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'decoupling-brain',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
coverageDirectory: '../../../coverage/libs/decoupling/brain',
transform: {
'^.+\\.(ts|mjs|js|html)$': [
Expand Down
2 changes: 1 addition & 1 deletion libs/decoupling/core/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'decoupling-core',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
coverageDirectory: '../../../coverage/libs/decoupling/core',
transform: {
'^.+\\.(ts|mjs|js|html)$': [
Expand Down
2 changes: 1 addition & 1 deletion libs/decoupling/helmet/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'decoupling-helmet',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
coverageDirectory: '../../../coverage/libs/decoupling/helmet',
transform: {
'^.+\\.(ts|mjs|js|html)$': [
Expand Down
2 changes: 1 addition & 1 deletion libs/module-to-standalone/admin/feature/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'module-to-standalone-admin-feature',
preset: '../../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
coverageDirectory:
'../../../../coverage/libs/module-to-standalone/admin/feature',
transform: {
Expand Down
2 changes: 1 addition & 1 deletion libs/module-to-standalone/admin/shared/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'module-to-standalone-admin-shared',
preset: '../../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
coverageDirectory:
'../../../../coverage/libs/module-to-standalone/admin/shared',
transform: {
Expand Down
2 changes: 1 addition & 1 deletion libs/module-to-standalone/core/providers/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'module-to-standalone-core-providers',
preset: '../../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
coverageDirectory:
'../../../../coverage/libs/module-to-standalone/core/providers',
transform: {
Expand Down
2 changes: 1 addition & 1 deletion libs/module-to-standalone/core/service/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'module-to-standalone-core-service',
preset: '../../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
coverageDirectory:
'../../../../coverage/libs/module-to-standalone/core/service',
transform: {
Expand Down
2 changes: 1 addition & 1 deletion libs/module-to-standalone/forbidden/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'module-to-standalone-forbidden',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
coverageDirectory: '../../../coverage/libs/module-to-standalone/forbidden',
transform: {
'^.+\\.(ts|mjs|js|html)$': [
Expand Down
2 changes: 1 addition & 1 deletion libs/module-to-standalone/home/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'module-to-standalone-home',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
coverageDirectory: '../../../coverage/libs/module-to-standalone/home',
transform: {
'^.+\\.(ts|mjs|js|html)$': [
Expand Down
2 changes: 1 addition & 1 deletion libs/module-to-standalone/shell/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'module-to-standalone-shell',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
coverageDirectory: '../../../coverage/libs/module-to-standalone/shell',
transform: {
'^.+\\.(ts|mjs|js|html)$': [
Expand Down
2 changes: 1 addition & 1 deletion libs/module-to-standalone/user/contact/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'module-to-standalone-user-contact',
preset: '../../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
coverageDirectory:
'../../../../coverage/libs/module-to-standalone/user/contact',
transform: {
Expand Down
2 changes: 1 addition & 1 deletion libs/module-to-standalone/user/home/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'module-to-standalone-user-home',
preset: '../../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
coverageDirectory: '../../../../coverage/libs/module-to-standalone/user/home',
transform: {
'^.+\\.(ts|mjs|js|html)$': [
Expand Down
2 changes: 1 addition & 1 deletion libs/module-to-standalone/user/shell/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'module-to-standalone-user-shell',
preset: '../../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
coverageDirectory:
'../../../../coverage/libs/module-to-standalone/user/shell',
transform: {
Expand Down
2 changes: 1 addition & 1 deletion libs/ngrx-notification/backend/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'ngrx-notification-backend',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
globals: {},
coverageDirectory: '../../../coverage/libs/ngrx-notification/backend',
transform: {
Expand Down
2 changes: 1 addition & 1 deletion libs/ngrx-notification/model/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'ngrx-notification-model',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
globals: {},
coverageDirectory: '../../../coverage/libs/ngrx-notification/model',
transform: {
Expand Down
2 changes: 1 addition & 1 deletion libs/shared/directives/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'shared-directives',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
coverageDirectory: '../../../coverage/libs/shared/directives',
transform: {
'^.+\\.(ts|mjs|js|html)$': [
Expand Down
2 changes: 1 addition & 1 deletion libs/shared/ngrx-callstate-store/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'shared-ngrx-callstate-store',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
globals: {},
coverageDirectory: '../../../coverage/libs/shared/ngrx-callstate-store',
transform: {
Expand Down
2 changes: 1 addition & 1 deletion libs/shared/utils/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
displayName: 'shared-utils',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
globals: {},
coverageDirectory: '../../../coverage/libs/shared/utils',
transform: {
Expand Down

0 comments on commit a41faf8

Please sign in to comment.