mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 22:06:20 +00:00
Include logger for generated tests
This commit is contained in:
parent
b38e5df630
commit
871953ba39
@ -2,7 +2,7 @@ import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('route:dc/intentions/create', 'Unit | Route | dc/intentions/create', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: ['service:intentions', 'service:feedback', 'service:flashMessages'],
|
||||
needs: ['service:intentions', 'service:feedback', 'service:logger', 'service:flashMessages'],
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
|
@ -2,7 +2,7 @@ import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('route:dc/intentions/edit', 'Unit | Route | dc/intentions/edit', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: ['service:intentions', 'service:feedback', 'service:flashMessages'],
|
||||
needs: ['service:intentions', 'service:feedback', 'service:logger', 'service:flashMessages'],
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
|
@ -2,7 +2,7 @@ import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('route:dc/intentions/index', 'Unit | Route | dc/intentions/index', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: ['service:intentions', 'service:feedback', 'service:flashMessages'],
|
||||
needs: ['service:intentions', 'service:feedback', 'service:logger', 'service:flashMessages'],
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
|
12
ui-v2/tests/unit/services/logger-test.js
Normal file
12
ui-v2/tests/unit/services/logger-test.js
Normal file
@ -0,0 +1,12 @@
|
||||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('service:logger', 'Unit | Service | logger', {
|
||||
// Specify the other units that are required for this test.
|
||||
// needs: ['service:foo']
|
||||
});
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it exists', function(assert) {
|
||||
let service = this.subject();
|
||||
assert.ok(service);
|
||||
});
|
Loading…
x
Reference in New Issue
Block a user