@amedia/jest-config 0.0.0-20220811135628

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/index.js +18 -0
  3. package/package.json +18 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,8 @@
1
+ # @amedia/jest-config
2
+
3
+ ## 0.0.0-20220811135628
4
+
5
+ ### Patch Changes
6
+
7
+ - 9c7ba60: Add test command to the kragl CLI tool to make it easier to use Jest in
8
+ projects as a test runner.
package/index.js ADDED
@@ -0,0 +1,18 @@
1
+ const { join } = require('node:path');
2
+ const { cwd } = require('node:process');
3
+
4
+ module.exports = {
5
+ rootDir: join(cwd()),
6
+ collectCoverage: true,
7
+ cache: false,
8
+ collectCoverageFrom: ['**/*.js', '!**/node_modules/**', '!**/coverage/**'],
9
+ coveragePathIgnorePatterns: [
10
+ '<rootDir>/src/routes',
11
+ '<rootDir>/src/server.js',
12
+ '<rootDir>/src/config',
13
+ '<rootDir>/.storybook',
14
+ '<rootDir>/stories',
15
+ ],
16
+ testEnvironment: 'node',
17
+ verbose: true,
18
+ };
package/package.json ADDED
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "@amedia/jest-config",
3
+ "version": "0.0.0-20220811135628",
4
+ "description": "Jest config for Amedia",
5
+ "main": "index.js",
6
+ "scripts": {},
7
+ "author": "",
8
+ "license": "ISC",
9
+ "devDependencies": {
10
+ "jest": "28.1.3"
11
+ },
12
+ "peerDependencies": {
13
+ "jest": "28.x"
14
+ },
15
+ "publishConfig": {
16
+ "access": "public"
17
+ }
18
+ }