-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a9083a3
commit 316bfc4
Showing
17 changed files
with
12,328 additions
and
10,081 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
const { getJestProjects } = require('@nrwl/jest'); | ||
const { getJestProjects } = require('@nx/jest'); | ||
|
||
export default { projects: getJestProjects() }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
const nxPreset = require('@nrwl/jest/preset').default; | ||
const nxPreset = require('@nx/jest/preset').default; | ||
|
||
module.exports = { ...nxPreset }; | ||
module.exports = { | ||
...nxPreset, | ||
/* TODO: Update to latest Jest snapshotFormat | ||
* By default Nx has kept the older style of Jest Snapshot formats | ||
* to prevent breaking of any existing tests with snapshots. | ||
* It's recommend you update to the latest format. | ||
* You can do this by removing snapshotFormat property | ||
* and running tests with --update-snapshot flag. | ||
* Example: "nx affected --targets=test --update-snapshot" | ||
* More info: https://jestjs.io/docs/upgrading-to-jest29#snapshot-format | ||
*/ | ||
snapshotFormat: { escapeString: true, printBasicPrototype: true }, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"name": "ng-mockito-integration", | ||
"$schema": "../../../node_modules/nx/schemas/project-schema.json", | ||
"projectType": "library", | ||
"sourceRoot": "libs/ng-mockito/integration/src", | ||
"prefix": "qp", | ||
"targets": { | ||
"lint": { | ||
"executor": "@nrwl/linter:eslint", | ||
"options": { | ||
"lintFilePatterns": ["libs/ng-mockito/integration/src/**/*.ts"] | ||
} | ||
}, | ||
"test": { | ||
"executor": "@nx/jest:jest", | ||
"options": { | ||
"jestConfig": "libs/ng-mockito/integration/jest.config.ts", | ||
"passWithNoTests": true | ||
}, | ||
"outputs": ["{workspaceRoot}/coverage/libs/ng-mockito/integration"] | ||
} | ||
}, | ||
"generators": { | ||
"@schematics/angular:component": { | ||
"style": "scss" | ||
} | ||
}, | ||
"tags": ["scope:ng-mockito"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"name": "ng-mockito", | ||
"$schema": "../../../node_modules/nx/schemas/project-schema.json", | ||
"projectType": "library", | ||
"sourceRoot": "libs/ng-mockito/ng-mockito/src", | ||
"prefix": "qp", | ||
"targets": { | ||
"build": { | ||
"executor": "@nx/angular:package", | ||
"options": { | ||
"tsConfig": "libs/ng-mockito/ng-mockito/tsconfig.lib.json", | ||
"project": "libs/ng-mockito/ng-mockito/ng-package.json", | ||
"updateBuildableProjectDepsInPackageJson": true | ||
}, | ||
"configurations": { | ||
"production": { | ||
"tsConfig": "libs/ng-mockito/ng-mockito/tsconfig.lib.prod.json" | ||
} | ||
} | ||
}, | ||
"lint": { | ||
"executor": "@nrwl/linter:eslint", | ||
"options": { | ||
"lintFilePatterns": ["libs/ng-mockito/ng-mockito/src/**/*.ts"] | ||
} | ||
}, | ||
"test": { | ||
"executor": "@nx/jest:jest", | ||
"options": { | ||
"jestConfig": "libs/ng-mockito/ng-mockito/jest.config.ts", | ||
"passWithNoTests": true | ||
}, | ||
"outputs": ["{workspaceRoot}/coverage/libs/ng-mockito/ng-mockito"] | ||
} | ||
}, | ||
"generators": { | ||
"@schematics/angular:component": { | ||
"style": "scss" | ||
} | ||
}, | ||
"tags": ["scope:ng-mockito"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.