This website requires JavaScript.
Explore
Help
Sign In
m
/
metamask-extension
Watch
1
Star
0
Fork
0
You've already forked metamask-extension
mirror of
https://github.com/kremalicious/metamask-extension.git
synced
2024-11-29 23:58:06 +01:00
Code
6ee22e6688
metamask-extension
/
circle.yml
8 lines
104 B
YAML
Raw
Normal View
History
Unescape
Escape
Add circle.yml
2016-06-21 23:18:38 +02:00
machine
:
node
:
version
:
6.0
.0
Ui testing (#481) * Add UI Testing Framework and Simple UI Test Added a Testem configuration that launches a Qunit page with an iFrame that builds and loads our mock-dev page and can interact with it and run tests on it. Wrote a simple test that accepts the terms and conditions and transitions to the next page. I am not doing any fancy redux-hooks for the async waiting, I've simply added a `tests/integration/helpers.js` file with a `wait()` function that returns a promise that should wait long enough. Long term we should hook into the app lifecycle by some means for testing, so we only wait the right amount of time, and wait long enough for slower processes to complete, but this may work for the time being, just enough to run some basic automated browser tests. * Separate UI tests from normal unit test suite * Add UI tests to CI test script * Add testem and phantom to circleCI pre-script * Fix circle pre script * Move pre scripts to dependencies key * Remove phantom from build deps * Fix testem runner page * Add promise polyfill for PhantomJS * Skip PhantomJS in testem * Run browser tests in parallel * Fix promise usage? * Correct skip usage
2016-07-26 01:42:39 +02:00
dependencies
:
pre
:
-
"npm i -g testem"
Add - "npm i -g mocha" to circle
2016-08-26 00:18:16 +02:00
-
"npm i -g mocha"
Copy Permalink