nodeguy/jest.config.js
Atul R ece01d3803
Add qvariant object translation (#189)
* working - translation of any wrapped object

* clang format

* Adds QVariant and Qbject property. Also adds QPixmap fromQVariant

* fixes breaking test cases

* Adds build to prepush hook aswell
2019-11-10 20:48:41 +01:00

17 lines
642 B
JavaScript

// For a detailed explanation regarding each configuration property, visit:
// https://jestjs.io/docs/en/configuration.html
module.exports = {
clearMocks: true,
coverageDirectory: 'coverage',
collectCoverageFrom: ['**/*.{js,jsx,ts,tsx}', '!**/node_modules/**'],
forceCoverageMatch: ['**/*.{ts,tsx,js,jsx}', '!**/*.test.{ts,tsx,js,jsx}'],
moduleFileExtensions: ['js', 'json', 'jsx', 'ts', 'tsx', 'node'],
roots: ['<rootDir>/src/lib'],
testEnvironment: 'node',
transform: {
'^.+\\.tsx?$': 'ts-jest',
},
globalSetup: './config/tests/setup.js',
globalTeardown: './config/tests/teardown.js',
};