Mercurial > gemma
view jest.config.js @ 12:000adddf74c8
Merge vue-cli branch into default
* Remove second branch, because we don't need it.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Wed, 20 Jun 2018 16:48:54 +0200 |
parents | 1597506a2241 |
children |
line wrap: on
line source
module.exports = { moduleFileExtensions: ["js", "jsx", "json", "vue"], transform: { "^.+\\.vue$": "vue-jest", ".+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$": "jest-transform-stub", "^.+\\.jsx?$": "babel-jest" }, moduleNameMapper: { "^@/(.*)$": "<rootDir>/src/$1" }, snapshotSerializers: ["jest-serializer-vue"], testMatch: [ "<rootDir>/(tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx))" ] };