Initial commit (as a partial copy of md:quality)
This commit is contained in:
		@@ -0,0 +1,8 @@
 | 
			
		||||
{
 | 
			
		||||
  "rules": {
 | 
			
		||||
    "import/no-unresolved": 0,
 | 
			
		||||
    "import/extensions": 0,
 | 
			
		||||
    "quotes": ["error", "single"],
 | 
			
		||||
    "semi": ["error", "always"]
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
@@ -0,0 +1,9 @@
 | 
			
		||||
const path = require('path');
 | 
			
		||||
 | 
			
		||||
module.exports = {
 | 
			
		||||
  rootDir: path.join(__dirname, '..', '..'),
 | 
			
		||||
  testEnvironment: 'jsdom',
 | 
			
		||||
  testMatch: ['**/test/build-artifacts/**/*.js'],
 | 
			
		||||
  setupFiles: ['<rootDir>/test/unit/jest-shim.js'],
 | 
			
		||||
  transformIgnorePatterns: ['/node_modules/(?!(swagger-client|react-syntax-highlighter)/)'],
 | 
			
		||||
};
 | 
			
		||||
@@ -0,0 +1,23 @@
 | 
			
		||||
const path = require('path');
 | 
			
		||||
 | 
			
		||||
module.exports = {
 | 
			
		||||
  rootDir: path.join(__dirname, '..', '..'),
 | 
			
		||||
  testEnvironment: 'jest-environment-jsdom',
 | 
			
		||||
  testMatch: [
 | 
			
		||||
    '**/test/unit/*.js?(x)',
 | 
			
		||||
    '**/test/unit/**/*.js?(x)',
 | 
			
		||||
  ],
 | 
			
		||||
  setupFiles: ['<rootDir>/test/unit/jest-shim.js'],
 | 
			
		||||
  setupFilesAfterEnv: ['<rootDir>/test/unit/setup.js'],
 | 
			
		||||
  testPathIgnorePatterns: [
 | 
			
		||||
    '<rootDir>/node_modules/',
 | 
			
		||||
    '<rootDir>/test/build-artifacts/',
 | 
			
		||||
    '<rootDir>/test/unit/jest-shim.js',
 | 
			
		||||
    '<rootDir>/test/unit/setup.js',
 | 
			
		||||
  ],
 | 
			
		||||
  moduleNameMapper: {
 | 
			
		||||
    '^.+\\.svg$': 'jest-transform-stub'
 | 
			
		||||
  },
 | 
			
		||||
  transformIgnorePatterns: ['/node_modules/(?!(sinon|react-syntax-highlighter)/)'],
 | 
			
		||||
  silent: true, // set to `false` to allow console.* calls to be printed
 | 
			
		||||
};
 | 
			
		||||
		Reference in New Issue
	
	Block a user