forked from mwootendev/ngx-translate-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from safe-fleet/feat/project-setup
feat(global): project setup
- Loading branch information
Showing
15 changed files
with
17,075 additions
and
137 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 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,19 @@ | ||
* text=auto | ||
|
||
*.png binary | ||
*.ico binary | ||
|
||
.* text eol=lf | ||
CODEOWNERS text eol=lf | ||
Dockerfile text eol=lf | ||
*.groovy text eol=lf | ||
*.md text eol=lf | ||
*.json text eol=lf | ||
browserslist text eol=lf | ||
*.js text eol=lf | ||
*.ts text eol=lf | ||
*.conf text eol=lf | ||
*.yaml text eol=lf | ||
*.html text eol=lf | ||
*.scss text eol=lf | ||
*.svg text eol=lf |
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 @@ | ||
* @safe-fleet/sf-leads @safe-fleet/mm-leads @safe-fleet/mm-qa |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
const { pathsToModuleNameMapper } = require('ts-jest/utils'); | ||
const { compilerOptions } = require('./tsconfig.json'); | ||
module.exports = { | ||
globals: { | ||
'ts-jest': { | ||
tsconfig: './projects/testing/tsconfig.spec.json', | ||
stringifyContentPathRegex: '\\.html$', | ||
astTransformers: { | ||
before: [ | ||
'jest-preset-angular/build/InlineFilesTransformer', | ||
'jest-preset-angular/build/StripStylesTransformer', | ||
], | ||
}, | ||
diagnostics: { | ||
ignoreCodes: [151001], | ||
}, | ||
}, | ||
}, | ||
transform: { | ||
'^.+\\.(ts|js|html)$': 'ts-jest', | ||
}, | ||
preset: 'jest-preset-angular', | ||
setupFilesAfterEnv: ['<rootDir>/setupJest.ts'], | ||
testMatch: ['**/+(*.)+(spec|test).+(ts|js)?(x)'], | ||
moduleFileExtensions: ['ts', 'js', 'html'], | ||
testPathIgnorePatterns: ['/node_modules/', '/dist/', 'contract.spec.ts$', 'comp.spec.ts$'], | ||
silent: true, | ||
moduleDirectories: ['node_modules'], | ||
roots: ['<rootDir>/projects/testing/src'], | ||
collectCoverage: true, | ||
collectCoverageFrom: [ | ||
'**/*.ts', | ||
'!**/node_modules/**', | ||
'!**/interfaces/**', | ||
'!**/*.spec.ts', | ||
'!**/*.module.ts', | ||
'!**/polyfills.ts', | ||
'!**/main.ts', | ||
'!**/index.ts', | ||
'!**/src/environments/**', | ||
'!**/*.d.ts', | ||
'!**/public-api.ts' | ||
], | ||
moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths, { prefix: '<rootDir>/projects/testing/' }), | ||
transformIgnorePatterns: [`/node_modules/`], | ||
coverageDirectory: 'coverage', | ||
coverageReporters: ['json', 'lcov', 'clover', 'html', 'text'], | ||
}; |
Oops, something went wrong.