Mercurial > gemma
view client/jest.config.js @ 692:87ea9d267c2b
refac: transformation formula for diagram adjusted
1) the length of the segments of a polyline are now summed
2) each point has an x coordinate according to the length of the polyline up to this point
3) testdata were hand crafted and used as basis for plausibility checks
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Thu, 20 Sep 2018 15:12:49 +0200 |
parents | 88d0d60924cf |
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))" ] };