When running locally running npm run tests some of the tests are failing intermittently:
First run:
-> npm run test
> ember-cli-frost-blueprints@5.0.1 test /Users/Micarrol/Devel/ember-cli-frost-blueprints
> npm run lint && npm run node-test
> ember-cli-frost-blueprints@5.0.1 lint /Users/Micarrol/Devel/ember-cli-frost-blueprints
> lint-all-the-things
Running linting…
Dockerfile: 0 errors, 0 warnings
HTMLBars: 0 errors, 0 warnings
Javascript: 0 errors, 0 warnings
Markdown: 0 errors, 0 warnings
SASS: 0 errors, 0 warnings
linting complete!
> ember-cli-frost-blueprints@5.0.1 node-test /Users/Micarrol/Devel/ember-cli-frost-blueprints
> istanbul cover _mocha -- --recursive tests/
acceptance-test
ember g acceptance-test foo-bar
1) "before each" hook for "should not error"
adapter-test
ember g adapter-test foo-bar
✓ should not error
the generated file(s)
✓ tests/unit/adapters/foo-bar-test.js
✓ should pass lint
component
ember g component foo-bar
✓ should not error
the generated file(s)
✓ addon/templates/components/foo-bar.hbs
✓ app/components/foo-bar.js
✓ addon/components/foo-bar.js
✓ tests/integration/components/foo-bar-test.js
✓ should pass lint
ember g component foo-bar --pod
✓ should not error
the generated file(s)
✓ addon/pods/components/foo-bar/template.hbs
✓ app/pods/components/foo-bar/component.js
✓ addon/pods/components/foo-bar/component.js
✓ tests/integration/pods/components/foo-bar/component-test.js
✓ should pass lint
ember g component foo-bar --pro
✓ should not error
the generated file(s)
✓ addon/templates/components/foo-bar.hbs
✓ addon/components/foo-bar.js
✓ app/components/foo-bar.js
✓ tests/integration/components/foo-bar-test.js
✓ should pass lint
ember g component foo-bar --route baz
✓ should not error
the generated file(s)
✓ addon/pods/baz/-components/foo-bar/template.hbs
✓ app/components/foo-bar.js
✓ addon/pods/baz/-components/foo-bar/component.js
✓ tests/integration/pods/baz/-components/foo-bar/component-test.js
✓ should pass lint
ember g component foo-bar --route baz --pro
✓ should not error
the generated file(s)
✓ addon/pods/baz/-components/foo-bar/template.hbs
✓ app/components/foo-bar.js
✓ addon/pods/baz/-components/foo-bar/component.js
✓ tests/integration/pods/baz/-components/foo-bar/component-test.js
✓ should pass lint
component-test
ember g component-test foo-bar
✓ should not error
the generated file(s)
✓ tests/integration/components/foo-bar-test.js
✓ should pass lint
ember g component-test foo-bar --unit
✓ should not error
the generated file(s)
✓ tests/unit/components/foo-bar-test.js
✓ should pass lint
ember g component-test foo-bar --pod
✓ should not error
the generated file(s)
✓ tests/integration/pods/components/foo-bar/component-test.js
✓ should pass lint
ember g component-test foo-bar --route baz
✓ should not error
the generated file(s)
✓ tests/integration/pods/baz/-components/foo-bar/component-test.js
✓ should pass lint
ember g component-test foo-bar --pod --route baz
✓ should not error
the generated file(s)
✓ tests/integration/pods/baz/-components/foo-bar/component-test.js
✓ should pass lint
ember g component-test foo-bar --unit --pod
✓ should not error
the generated file(s)
✓ tests/unit/pods/components/foo-bar/component-test.js
✓ should pass lint
ember g component-test foo-bar --unit --route baz
✓ should not error
the generated file(s)
✓ tests/unit/pods/baz/-components/foo-bar/component-test.js
✓ should pass lint
controller
ember g controller foo-bar
✓ should not error
the generated file(s)
✓ app/controllers/foo-bar.js
✓ addon/controllers/foo-bar.js
✓ tests/unit/controllers/foo-bar-test.js
✓ should pass lint
controller-test
ember g controller-test foo-bar
✓ should not error
the generated file(s)
✓ tests/unit/controllers/foo-bar-test.js
✓ should pass lint
helper
ember g helper foo-bar
✓ should not error
the generated file(s)
✗ tests/unit/helpers/foo-bar-test.js
✓ app/helpers/foo-bar.js
✓ addon/helpers/foo-bar.js
✓ should pass lint
mixin
ember g mixin foo-bar
✓ should not error
the generated file(s)
✓ tests/unit/mixins/foo-bar-test.js
✓ addon/mixins/foo-bar.js
✓ should pass lint
mixin-test
ember g mixin-test foo-bar
✓ should not error
the generated file(s)
✓ tests/unit/mixins/foo-bar-test.js
✓ should pass lint
model-test
ember g model-test foo-bar
✓ should not error
the generated file(s)
✓ tests/unit/models/foo-bar-test.js
✓ should pass lint
route-test
ember g route-test foo-bar
✓ should not error
the generated file(s)
✓ tests/unit/routes/foo-bar-test.js
✓ should pass lint
service
ember g service foo-bar
✓ should not error
the generated file(s)
✗ tests/unit/services/foo-bar-test.js
✓ addon/services/foo-bar.js
✓ app/services/foo-bar.js
✓ should pass lint
util
ember g util foo-bar
✓ should not error
the generated file(s)
✗ tests/unit/utils/foo-bar-test.js
✓ app/utils/foo-bar.js
✓ addon/utils/foo-bar.js
✓ should pass lint
44 passing (4m)
1 failing
1) acceptance-test ember g acceptance-test foo-bar "before each" hook for "should not error":
Error: Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
Second run:
-> npm run test
> ember-cli-frost-blueprints@5.0.1 test /Users/Micarrol/Devel/ember-cli-frost-blueprints
> npm run lint && npm run node-test
> ember-cli-frost-blueprints@5.0.1 lint /Users/Micarrol/Devel/ember-cli-frost-blueprints
> lint-all-the-things
Running linting…
Dockerfile: 0 errors, 0 warnings
HTMLBars: 0 errors, 0 warnings
Javascript: 0 errors, 0 warnings
Markdown: 0 errors, 0 warnings
SASS: 0 errors, 0 warnings
linting complete!
> ember-cli-frost-blueprints@5.0.1 node-test /Users/Micarrol/Devel/ember-cli-frost-blueprints
> istanbul cover _mocha -- --recursive tests/
acceptance-test
ember g acceptance-test foo-bar
✓ should not error
1) "after each" hook for "should not error"
adapter-test
ember g adapter-test foo-bar
2) "before each" hook for "should not error"
component
ember g component foo-bar
3) "before each" hook for "should not error"
ember g component foo-bar --pod
✓ should not error
^C
2 passing (32s)
3 failing
1) acceptance-test ember g acceptance-test foo-bar "after each" hook for "should not error":
Error: Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
2) adapter-test ember g adapter-test foo-bar "before each" hook for "should not error":
Error: Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
3) component ember g component foo-bar "before each" hook for "should not error":
Error: Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
NOTE: on the second run I stopped the test run after I saw several of the tests failing.
When running locally running
npm run tests
some of the tests are failing intermittently:First run:
Second run:
NOTE: on the second run I stopped the test run after I saw several of the tests failing.