mobxjs / mobx-angular

The MobX connector for Angular.
MIT License
483 stars 59 forks source link

Unexpected token: Jest testing #65

Closed ghost closed 6 years ago

ghost commented 6 years ago
src/app/playground/counter/counter.component.pug: Unexpected token (1:4)
      > 1 | div(*mobxAutorun='{ dontDetach: true }')
          |     ^
        2 |   p Clicked: {{ counter.value }} times, value is {{ counter.evenOrOdd }}.
        3 |
        4 |   div

{
  "jest": {
    "transform": {
      "\\.(pug)$": "<rootDir>/node_modules/pug-jest"
    }
  }
}