Browse Source

test: add jest configs to modules without tests

pull/2175/head
mehmet-erim 6 years ago
parent
commit
8d93285120
  1. 7
      npm/ng-packs/packages/account-config/jest.config.js
  2. 8
      npm/ng-packs/packages/account-config/tsconfig.spec.json
  3. 7
      npm/ng-packs/packages/account/jest.config.js
  4. 8
      npm/ng-packs/packages/account/tsconfig.spec.json
  5. 7
      npm/ng-packs/packages/identity-config/jest.config.js
  6. 8
      npm/ng-packs/packages/identity-config/tsconfig.spec.json
  7. 7
      npm/ng-packs/packages/setting-management-config/jest.config.js
  8. 8
      npm/ng-packs/packages/setting-management-config/tsconfig.spec.json
  9. 7
      npm/ng-packs/packages/setting-management/jest.config.js
  10. 8
      npm/ng-packs/packages/setting-management/tsconfig.spec.json
  11. 7
      npm/ng-packs/packages/tenant-management-config/jest.config.js
  12. 8
      npm/ng-packs/packages/tenant-management-config/tsconfig.spec.json

7
npm/ng-packs/packages/account-config/jest.config.js

@ -0,0 +1,7 @@
const jestConfig = require('../../jest.config');
module.exports = {
...jestConfig,
name: 'account-config',
'ts-jest': { allowSyntheticDefaultImports: true },
};

8
npm/ng-packs/packages/account-config/tsconfig.spec.json

@ -1,9 +1,11 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../../out-tsc/spec",
"types": ["node", "jest"]
"emitDecoratorMetadata": true,
"esModuleInterop": true,
"outDir": "../../dist/out-tsc",
"module": "commonjs",
"types": ["jest", "node"]
},
"files": [],
"include": ["**/*.spec.ts", "**/*.d.ts"]
}

7
npm/ng-packs/packages/account/jest.config.js

@ -0,0 +1,7 @@
const jestConfig = require('../../jest.config');
module.exports = {
...jestConfig,
name: 'account',
'ts-jest': { allowSyntheticDefaultImports: true },
};

8
npm/ng-packs/packages/account/tsconfig.spec.json

@ -1,9 +1,11 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../../out-tsc/spec",
"types": ["node", "jest"]
"emitDecoratorMetadata": true,
"esModuleInterop": true,
"outDir": "../../dist/out-tsc",
"module": "commonjs",
"types": ["jest", "node"]
},
"files": [],
"include": ["**/*.spec.ts", "**/*.d.ts"]
}

7
npm/ng-packs/packages/identity-config/jest.config.js

@ -0,0 +1,7 @@
const jestConfig = require('../../jest.config');
module.exports = {
...jestConfig,
name: 'setting-management-config',
'ts-jest': { allowSyntheticDefaultImports: true },
};

8
npm/ng-packs/packages/identity-config/tsconfig.spec.json

@ -1,9 +1,11 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../../out-tsc/spec",
"types": ["node", "jest"]
"emitDecoratorMetadata": true,
"esModuleInterop": true,
"outDir": "../../dist/out-tsc",
"module": "commonjs",
"types": ["jest", "node"]
},
"files": [],
"include": ["**/*.spec.ts", "**/*.d.ts"]
}

7
npm/ng-packs/packages/setting-management-config/jest.config.js

@ -0,0 +1,7 @@
const jestConfig = require('../../jest.config');
module.exports = {
...jestConfig,
name: 'identity-config',
'ts-jest': { allowSyntheticDefaultImports: true },
};

8
npm/ng-packs/packages/setting-management-config/tsconfig.spec.json

@ -1,9 +1,11 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../../out-tsc/spec",
"types": ["node", "jest"]
"emitDecoratorMetadata": true,
"esModuleInterop": true,
"outDir": "../../dist/out-tsc",
"module": "commonjs",
"types": ["jest", "node"]
},
"files": [],
"include": ["**/*.spec.ts", "**/*.d.ts"]
}

7
npm/ng-packs/packages/setting-management/jest.config.js

@ -0,0 +1,7 @@
const jestConfig = require('../../jest.config');
module.exports = {
...jestConfig,
name: 'identity-config',
'ts-jest': { allowSyntheticDefaultImports: true },
};

8
npm/ng-packs/packages/setting-management/tsconfig.spec.json

@ -1,9 +1,11 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../../out-tsc/spec",
"types": ["node", "jest"]
"emitDecoratorMetadata": true,
"esModuleInterop": true,
"outDir": "../../dist/out-tsc",
"module": "commonjs",
"types": ["jest", "node"]
},
"files": [],
"include": ["**/*.spec.ts", "**/*.d.ts"]
}

7
npm/ng-packs/packages/tenant-management-config/jest.config.js

@ -0,0 +1,7 @@
const jestConfig = require('../../jest.config');
module.exports = {
...jestConfig,
name: 'tenant-management-config',
'ts-jest': { allowSyntheticDefaultImports: true },
};

8
npm/ng-packs/packages/tenant-management-config/tsconfig.spec.json

@ -1,9 +1,11 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../../out-tsc/spec",
"types": ["node", "jest"]
"emitDecoratorMetadata": true,
"esModuleInterop": true,
"outDir": "../../dist/out-tsc",
"module": "commonjs",
"types": ["jest", "node"]
},
"files": [],
"include": ["**/*.spec.ts", "**/*.d.ts"]
}

Loading…
Cancel
Save