Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { moduleFor, test } from 'ember-qunit';
- import Song from '../../../app/models/song';
- moduleFor('service:player', 'Unit | Service | player', {
- needs: ['service:config','service:display']
- });
- test('it plays a song', function(assert) {
- let service = this.subject();
- let song = new Song();
- let result = service.play(song);
- assert.ok(result);
- });
- not ok 306 PhantomJS 2.1 - TestLoader Failures: hub-ui/tests/unit/services/player-test: could not be loaded
- ---
- actual: >
- null
- stack: >
- missingModule@http://localhost:7357/assets/vendor.js:252:91
- findModule@http://localhost:7357/assets/vendor.js:263:20
- findDeps@http://localhost:7357/assets/vendor.js:173:34
- findModule@http://localhost:7357/assets/vendor.js:267:19
- requireModule@http://localhost:7357/assets/vendor.js:29:25
- http://localhost:7357/assets/test-support.js:8125:18
- require@http://localhost:7357/assets/test-support.js:8115:32
- loadModules@http://localhost:7357/assets/test-support.js:8107:23
- load@http://localhost:7357/assets/test-support.js:8058:37
- http://localhost:7357/assets/test-support.js:7901:22
- message: >
- Died on test #1 moduleLoadFailure@http://localhost:7357/assets/test-support.js:7889:17
- http://localhost:7357/assets/test-support.js:8127:33
- require@http://localhost:7357/assets/test-support.js:8115:32
- loadModules@http://localhost:7357/assets/test-support.js:8107:23
- load@http://localhost:7357/assets/test-support.js:8058:37
- http://localhost:7357/assets/test-support.js:7901:22: Could not find module `hub-ui/app/models/song` imported from `hub-ui/tests/unit/services/player-test`
- Log: |
- ...
Add Comment
Please, Sign In to add comment