mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-04 18:51:17 +00:00
- fixes #61 - dont clear nodes cache if topo is the same - combined stores that were interdependent - dont show topology grouping menu if unsupported - also harmonized some variable names - removed old grouping switcher - moved topo actions to app actions, removed search - get correct topology url - first JS test using Jest - make tests run on circle using the build container. - replaced jest test runner with karma/jasmine - Use debian for UI build and test container. - updated karma-browserify
10 lines
364 B
Markdown
10 lines
364 B
Markdown
# Testing
|
|
|
|
Scope unit testing is done unsing Karma/Jasmine. (Jest was too big and slow.)
|
|
|
|
To run tests, do `npm test` in the toplevel directory.
|
|
|
|
The tests are placed in `__tests__` directories, relative to what they are testing.
|
|
|
|
For more info see [Testing Flux Apps with Karma](http://kentor.me/posts/testing-react-and-flux-applications-with-karma-and-webpack/)
|