Mercurial > gemma
view client/jest.config.js @ 700:8c3c43595d39
client: make kilometre style resolution depending
* Add style function that takes the resolution into account
for the distance_marks_geoserver that display the riverkilometre
on the waterway axis. Circle and Text are independently switched
off if the resolution is too large.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Thu, 20 Sep 2018 21:50:18 +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))" ] };