ui: chore upgrade to ember-qunit v5 (#14430)
* Refactor remaining `moduleFor`-tests `moduleFor*` will be removed from ember-qunit v5 * Upgrade ember-qunit to v5 * Update how we use ember-sinon-qunit With ember-qunit v5 we need to use ember-sinon-qunit differently. * Fix submit-blank test We can't click on disabled buttons with new test-helpers. We need to adapt the test accordingly. * Make sure we await fill-in with form yaml step We need to await `fill-in`. This changes the reducer function in the step to create a proper await chain. * Fix show-routing test We need to await a tick before visiting again. * Remove redundant `wait one tick`-step * remove unneeded "next Tick" promise from form step * Increase timeout show-routing feature * Comment on pause hack for show-routing test
This commit is contained in:
parent
1a8b290086
commit
7547f7535f
|
@ -60,6 +60,7 @@
|
||||||
"@docfy/ember": "^0.4.1",
|
"@docfy/ember": "^0.4.1",
|
||||||
"@ember/optional-features": "^1.3.0",
|
"@ember/optional-features": "^1.3.0",
|
||||||
"@ember/render-modifiers": "^1.0.2",
|
"@ember/render-modifiers": "^1.0.2",
|
||||||
|
"@ember/test-helpers": "^2.1.4",
|
||||||
"@glimmer/component": "^1.0.0",
|
"@glimmer/component": "^1.0.0",
|
||||||
"@glimmer/tracking": "^1.0.0",
|
"@glimmer/tracking": "^1.0.0",
|
||||||
"@hashicorp/ember-cli-api-double": "^3.1.0",
|
"@hashicorp/ember-cli-api-double": "^3.1.0",
|
||||||
|
@ -135,7 +136,7 @@
|
||||||
"ember-page-title": "^6.2.1",
|
"ember-page-title": "^6.2.1",
|
||||||
"ember-power-select": "^4.0.5",
|
"ember-power-select": "^4.0.5",
|
||||||
"ember-power-select-with-create": "^0.8.0",
|
"ember-power-select-with-create": "^0.8.0",
|
||||||
"ember-qunit": "^4.6.0",
|
"ember-qunit": "^5.1.1",
|
||||||
"ember-ref-modifier": "^1.0.0",
|
"ember-ref-modifier": "^1.0.0",
|
||||||
"ember-render-helpers": "^0.2.0",
|
"ember-render-helpers": "^0.2.0",
|
||||||
"ember-resolver": "^8.0.0",
|
"ember-resolver": "^8.0.0",
|
||||||
|
@ -166,7 +167,7 @@
|
||||||
"pretender": "^3.2.0",
|
"pretender": "^3.2.0",
|
||||||
"prettier": "^1.10.2",
|
"prettier": "^1.10.2",
|
||||||
"pretty-ms": "^7.0.1",
|
"pretty-ms": "^7.0.1",
|
||||||
"qunit-dom": "^1.0.0",
|
"qunit-dom": "^1.6.0",
|
||||||
"react-is": "^17.0.1",
|
"react-is": "^17.0.1",
|
||||||
"refractor": "^3.5.0",
|
"refractor": "^3.5.0",
|
||||||
"remark-autolink-headings": "^6.0.1",
|
"remark-autolink-headings": "^6.0.1",
|
||||||
|
@ -177,7 +178,8 @@
|
||||||
"tippy.js": "^6.2.7",
|
"tippy.js": "^6.2.7",
|
||||||
"torii": "^0.10.1",
|
"torii": "^0.10.1",
|
||||||
"unist-util-visit": "^2.0.3",
|
"unist-util-visit": "^2.0.3",
|
||||||
"wayfarer": "^7.0.1"
|
"wayfarer": "^7.0.1",
|
||||||
|
"qunit": "^2.13.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10 <=14"
|
"node": ">=10 <=14"
|
||||||
|
|
|
@ -52,6 +52,13 @@ Feature: dc / services / show-routing: Show Routing for Service
|
||||||
service: service-1
|
service: service-1
|
||||||
---
|
---
|
||||||
And I see routing on the tabs
|
And I see routing on the tabs
|
||||||
|
# something weird is going on with this test
|
||||||
|
# without waiting we issue a url reload that
|
||||||
|
# will make the test timeout.
|
||||||
|
# waiting will "fix" this - we should look into
|
||||||
|
# the underlying reason for this soon. This is
|
||||||
|
# only a quick-fix to land ember-qunit v5.
|
||||||
|
And pause for 1000
|
||||||
And I visit the service page for yaml
|
And I visit the service page for yaml
|
||||||
---
|
---
|
||||||
dc: dc1
|
dc: dc1
|
||||||
|
|
|
@ -10,7 +10,7 @@ Feature: submit-blank
|
||||||
dc: datacenter
|
dc: datacenter
|
||||||
---
|
---
|
||||||
Then the url should be /datacenter/[Slug]/create
|
Then the url should be /datacenter/[Slug]/create
|
||||||
And I submit
|
Then I don't see submitIsEnabled
|
||||||
Then the url should be /datacenter/[Slug]/create
|
Then the url should be /datacenter/[Slug]/create
|
||||||
Where:
|
Where:
|
||||||
--------------------------
|
--------------------------
|
||||||
|
|
|
@ -16,6 +16,13 @@
|
||||||
{{content-for "body"}}
|
{{content-for "body"}}
|
||||||
{{content-for "test-body"}}
|
{{content-for "test-body"}}
|
||||||
|
|
||||||
|
<div id="qunit"></div>
|
||||||
|
<div id="qunit-fixture">
|
||||||
|
<div id="ember-testing-container">
|
||||||
|
<div id="ember-testing"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<script src="/testem.js" integrity=""></script>
|
<script src="/testem.js" integrity=""></script>
|
||||||
|
|
||||||
{{content-for "body-footer"}}
|
{{content-for "body-footer"}}
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
import { module } from 'qunit';
|
import { module, test } from 'qunit';
|
||||||
import { setupRenderingTest } from 'ember-qunit';
|
import { setupRenderingTest } from 'ember-qunit';
|
||||||
import { clearRender, render, waitUntil } from '@ember/test-helpers';
|
import { clearRender, render, waitUntil } from '@ember/test-helpers';
|
||||||
import hbs from 'htmlbars-inline-precompile';
|
import hbs from 'htmlbars-inline-precompile';
|
||||||
|
|
||||||
import test from 'ember-sinon-qunit/test-support/test';
|
|
||||||
import Service, { inject as service } from '@ember/service';
|
import Service, { inject as service } from '@ember/service';
|
||||||
|
|
||||||
import DataSourceComponent from 'consul-ui/components/data-source/index';
|
import DataSourceComponent from 'consul-ui/components/data-source/index';
|
||||||
import { BlockingEventSource as RealEventSource } from 'consul-ui/utils/dom/event-source';
|
import { BlockingEventSource as RealEventSource } from 'consul-ui/utils/dom/event-source';
|
||||||
|
import sinon from 'sinon';
|
||||||
|
|
||||||
const createFakeBlockingEventSource = function() {
|
const createFakeBlockingEventSource = function() {
|
||||||
const EventSource = function(cb) {
|
const EventSource = function(cb) {
|
||||||
|
@ -39,10 +39,10 @@ module('Integration | Component | data-source', function(hooks) {
|
||||||
// Set any properties with this.set('myProperty', 'value');
|
// Set any properties with this.set('myProperty', 'value');
|
||||||
// Handle any actions with this.set('myAction', function(val) { ... });
|
// Handle any actions with this.set('myAction', function(val) { ... });
|
||||||
assert.expect(9);
|
assert.expect(9);
|
||||||
const close = this.stub();
|
const close = sinon.stub();
|
||||||
const open = this.stub();
|
const open = sinon.stub();
|
||||||
const addEventListener = this.stub();
|
const addEventListener = sinon.stub();
|
||||||
const removeEventListener = this.stub();
|
const removeEventListener = sinon.stub();
|
||||||
let count = 0;
|
let count = 0;
|
||||||
const fakeService = class extends Service {
|
const fakeService = class extends Service {
|
||||||
close = close;
|
close = close;
|
||||||
|
@ -98,8 +98,8 @@ module('Integration | Component | data-source', function(hooks) {
|
||||||
});
|
});
|
||||||
test('error actions are triggered when errors are dispatched', async function(assert) {
|
test('error actions are triggered when errors are dispatched', async function(assert) {
|
||||||
const source = new RealEventSource();
|
const source = new RealEventSource();
|
||||||
const error = this.stub();
|
const error = sinon.stub();
|
||||||
const close = this.stub();
|
const close = sinon.stub();
|
||||||
const fakeService = class extends Service {
|
const fakeService = class extends Service {
|
||||||
close = close;
|
close = close;
|
||||||
open(uri, obj) {
|
open(uri, obj) {
|
||||||
|
|
|
@ -1,23 +1,22 @@
|
||||||
import { moduleFor, test } from 'ember-qunit';
|
import { setupTest } from 'ember-qunit';
|
||||||
import repo from 'consul-ui/tests/helpers/repo';
|
import repo from 'consul-ui/tests/helpers/repo';
|
||||||
import { skip } from 'qunit';
|
import { module, skip, test } from 'qunit';
|
||||||
|
|
||||||
const NAME = 'auth-method';
|
module(`Integration | Service | auth-method`, function(hooks) {
|
||||||
moduleFor(`service:repository/${NAME}`, `Integration | Service | ${NAME}`, {
|
setupTest(hooks);
|
||||||
// Specify the other units that are required for this test.
|
const dc = 'dc-1';
|
||||||
integration: true,
|
const id = 'auth-method-name';
|
||||||
});
|
const undefinedNspace = 'default';
|
||||||
const dc = 'dc-1';
|
const undefinedPartition = 'default';
|
||||||
const id = 'auth-method-name';
|
const partition = 'default';
|
||||||
const undefinedNspace = 'default';
|
[undefinedNspace, 'team-1', undefined].forEach(nspace => {
|
||||||
const undefinedPartition = 'default';
|
|
||||||
const partition = 'default';
|
|
||||||
[undefinedNspace, 'team-1', undefined].forEach(nspace => {
|
|
||||||
test(`findAllByDatacenter returns the correct data for list endpoint when nspace is ${nspace}`, function(assert) {
|
test(`findAllByDatacenter returns the correct data for list endpoint when nspace is ${nspace}`, function(assert) {
|
||||||
|
const subject = this.owner.lookup('service:repository/auth-method');
|
||||||
|
|
||||||
return repo(
|
return repo(
|
||||||
'auth-method',
|
'auth-method',
|
||||||
'findAllByDatacenter',
|
'findAllByDatacenter',
|
||||||
this.subject(),
|
subject,
|
||||||
function retrieveStub(stub) {
|
function retrieveStub(stub) {
|
||||||
return stub(
|
return stub(
|
||||||
`/v1/acl/auth-methods?dc=${dc}${typeof nspace !== 'undefined' ? `&ns=${nspace}` : ``}${
|
`/v1/acl/auth-methods?dc=${dc}${typeof nspace !== 'undefined' ? `&ns=${nspace}` : ``}${
|
||||||
|
@ -54,10 +53,12 @@ const partition = 'default';
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
skip(`findBySlug returns the correct data for item endpoint when the nspace is ${nspace}`, function(assert) {
|
skip(`findBySlug returns the correct data for item endpoint when the nspace is ${nspace}`, function(assert) {
|
||||||
|
const subject = this.owner.lookup('service:repository/auth-method');
|
||||||
|
|
||||||
return repo(
|
return repo(
|
||||||
'AuthMethod',
|
'AuthMethod',
|
||||||
'findBySlug',
|
'findBySlug',
|
||||||
this.subject(),
|
subject,
|
||||||
function retrieveStub(stub) {
|
function retrieveStub(stub) {
|
||||||
return stub(
|
return stub(
|
||||||
`/v1/acl/auth-method/${id}?dc=${dc}${
|
`/v1/acl/auth-method/${id}?dc=${dc}${
|
||||||
|
@ -89,4 +90,5 @@ const partition = 'default';
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,24 +1,25 @@
|
||||||
import { moduleFor, test } from 'ember-qunit';
|
import { setupTest } from 'ember-qunit';
|
||||||
|
import { module, test } from 'qunit';
|
||||||
import repo from 'consul-ui/tests/helpers/repo';
|
import repo from 'consul-ui/tests/helpers/repo';
|
||||||
import { get } from '@ember/object';
|
import { get } from '@ember/object';
|
||||||
const NAME = 'coordinate';
|
|
||||||
moduleFor(`service:repository/${NAME}`, `Integration | Service | ${NAME}`, {
|
|
||||||
// Specify the other units that are required for this test.
|
|
||||||
integration: true,
|
|
||||||
});
|
|
||||||
|
|
||||||
const dc = 'dc-1';
|
const dc = 'dc-1';
|
||||||
const nspace = 'default';
|
const nspace = 'default';
|
||||||
const partition = 'default';
|
const partition = 'default';
|
||||||
const now = new Date().getTime();
|
const now = new Date().getTime();
|
||||||
test('findAllByDatacenter returns the correct data for list endpoint', function(assert) {
|
module(`Integration | Service | coordinate`, function(hooks) {
|
||||||
get(this.subject(), 'store').serializerFor(NAME).timestamp = function() {
|
setupTest(hooks);
|
||||||
|
|
||||||
|
test('findAllByDatacenter returns the correct data for list endpoint', function(assert) {
|
||||||
|
const subject = this.owner.lookup('service:repository/coordinate');
|
||||||
|
|
||||||
|
get(subject, 'store').serializerFor('coordinate').timestamp = function() {
|
||||||
return now;
|
return now;
|
||||||
};
|
};
|
||||||
return repo(
|
return repo(
|
||||||
'Coordinate',
|
'Coordinate',
|
||||||
'findAllByDatacenter',
|
'findAllByDatacenter',
|
||||||
this.subject(),
|
subject,
|
||||||
function retrieveStub(stub) {
|
function retrieveStub(stub) {
|
||||||
return stub(
|
return stub(
|
||||||
`/v1/coordinate/nodes?dc=${dc}${
|
`/v1/coordinate/nodes?dc=${dc}${
|
||||||
|
@ -50,19 +51,24 @@ test('findAllByDatacenter returns the correct data for list endpoint', function(
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
test('findAllByNode calls findAllByDatacenter with the correct arguments', function(assert) {
|
test('findAllByNode calls findAllByDatacenter with the correct arguments', function(assert) {
|
||||||
assert.expect(3);
|
assert.expect(3);
|
||||||
const datacenter = 'dc-1';
|
const datacenter = 'dc-1';
|
||||||
const conf = {
|
const conf = {
|
||||||
cursor: 1,
|
cursor: 1,
|
||||||
};
|
};
|
||||||
const service = this.subject();
|
const service = this.owner.lookup('service:repository/coordinate');
|
||||||
service.findAllByDatacenter = function(params, configuration) {
|
service.findAllByDatacenter = function(params, configuration) {
|
||||||
assert.equal(arguments.length, 2, 'Expected to be called with the correct number of arguments');
|
assert.equal(
|
||||||
|
arguments.length,
|
||||||
|
2,
|
||||||
|
'Expected to be called with the correct number of arguments'
|
||||||
|
);
|
||||||
assert.equal(params.dc, datacenter);
|
assert.equal(params.dc, datacenter);
|
||||||
assert.deepEqual(configuration, conf);
|
assert.deepEqual(configuration, conf);
|
||||||
return Promise.resolve([]);
|
return Promise.resolve([]);
|
||||||
};
|
};
|
||||||
return service.findAllByNode({ node: 'node-name', dc: datacenter }, conf);
|
return service.findAllByNode({ node: 'node-name', dc: datacenter }, conf);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
import { moduleFor } from 'ember-qunit';
|
import { setupTest } from 'ember-qunit';
|
||||||
import { skip } from 'qunit';
|
import { module, skip } from 'qunit';
|
||||||
import repo from 'consul-ui/tests/helpers/repo';
|
import repo from 'consul-ui/tests/helpers/repo';
|
||||||
const NAME = 'dc';
|
|
||||||
moduleFor(`service:repository/${NAME}`, `Integration | Service | ${NAME}`, {
|
module(`Integration | Service | dc`, function(hooks) {
|
||||||
// Specify the other units that are required for this test.
|
setupTest(hooks);
|
||||||
integration: true,
|
skip("findBySlug (doesn't interact with the API) but still needs an int test");
|
||||||
});
|
skip('findAll returns the correct data for list endpoint', function(assert) {
|
||||||
skip("findBySlug (doesn't interact with the API) but still needs an int test");
|
const subject = this.owner.lookup('service:repository/dc');
|
||||||
skip('findAll returns the correct data for list endpoint', function(assert) {
|
|
||||||
return repo(
|
return repo(
|
||||||
'Dc',
|
'Dc',
|
||||||
'findAll',
|
'findAll',
|
||||||
this.subject(),
|
subject,
|
||||||
function retrieveStub(stub) {
|
function retrieveStub(stub) {
|
||||||
return stub(`/v1/catalog/datacenters`, {
|
return stub(`/v1/catalog/datacenters`, {
|
||||||
CONSUL_DATACENTER_COUNT: '100',
|
CONSUL_DATACENTER_COUNT: '100',
|
||||||
|
@ -27,4 +27,5 @@ skip('findAll returns the correct data for list endpoint', function(assert) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,17 +1,16 @@
|
||||||
import { moduleFor, test } from 'ember-qunit';
|
import { module, test } from 'qunit';
|
||||||
|
import { setupTest } from 'ember-qunit';
|
||||||
import repo from 'consul-ui/tests/helpers/repo';
|
import repo from 'consul-ui/tests/helpers/repo';
|
||||||
|
|
||||||
moduleFor('service:repository/discovery-chain', 'Integration | Service | discovery-chain', {
|
module('Integration | Service | discovery-chain', function(hooks) {
|
||||||
// Specify the other units that are required for this test.
|
setupTest(hooks);
|
||||||
integration: true,
|
const dc = 'dc-1';
|
||||||
});
|
const id = 'slug';
|
||||||
const dc = 'dc-1';
|
test('findBySlug returns the correct data for item endpoint', function(assert) {
|
||||||
const id = 'slug';
|
|
||||||
test('findBySlug returns the correct data for item endpoint', function(assert) {
|
|
||||||
return repo(
|
return repo(
|
||||||
'Service',
|
'Service',
|
||||||
'findBySlug',
|
'findBySlug',
|
||||||
this.subject(),
|
this.owner.lookup('service:repository/discovery-chain'),
|
||||||
function retrieveStub(stub) {
|
function retrieveStub(stub) {
|
||||||
return stub(`/v1/discovery-chain/${id}?dc=${dc}`, {
|
return stub(`/v1/discovery-chain/${id}?dc=${dc}`, {
|
||||||
CONSUL_DISCOVERY_CHAIN_COUNT: 1,
|
CONSUL_DISCOVERY_CHAIN_COUNT: 1,
|
||||||
|
@ -39,4 +38,5 @@ test('findBySlug returns the correct data for item endpoint', function(assert) {
|
||||||
assert.equal(actual.uid, result.uid);
|
assert.equal(actual.uid, result.uid);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,28 +1,28 @@
|
||||||
import { moduleFor, test } from 'ember-qunit';
|
import { module, test } from 'qunit';
|
||||||
|
import { setupTest } from 'ember-qunit';
|
||||||
import repo from 'consul-ui/tests/helpers/repo';
|
import repo from 'consul-ui/tests/helpers/repo';
|
||||||
import { env } from '../../../../env';
|
import { env } from '../../../../env';
|
||||||
import { get } from '@ember/object';
|
import { get } from '@ember/object';
|
||||||
|
|
||||||
const NAME = 'kv';
|
module(`Integration | Service | kv`, function(hooks) {
|
||||||
moduleFor(`service:repository/${NAME}`, `Integration | Service | ${NAME}`, {
|
setupTest(hooks);
|
||||||
// Specify the other units that are required for this test.
|
const dc = 'dc-1';
|
||||||
integration: true,
|
const id = 'key-name';
|
||||||
});
|
const now = new Date().getTime();
|
||||||
const dc = 'dc-1';
|
const undefinedNspace = 'default';
|
||||||
const id = 'key-name';
|
const undefinedPartition = 'default';
|
||||||
const now = new Date().getTime();
|
const partition = 'default';
|
||||||
const undefinedNspace = 'default';
|
[undefinedNspace, 'team-1', undefined].forEach(nspace => {
|
||||||
const undefinedPartition = 'default';
|
|
||||||
const partition = 'default';
|
|
||||||
[undefinedNspace, 'team-1', undefined].forEach(nspace => {
|
|
||||||
test(`findAllBySlug returns the correct data for list endpoint when nspace is ${nspace}`, function(assert) {
|
test(`findAllBySlug returns the correct data for list endpoint when nspace is ${nspace}`, function(assert) {
|
||||||
get(this.subject(), 'store').serializerFor(NAME).timestamp = function() {
|
const subject = this.owner.lookup('service:repository/kv');
|
||||||
|
|
||||||
|
get(subject, 'store').serializerFor('kv').timestamp = function() {
|
||||||
return now;
|
return now;
|
||||||
};
|
};
|
||||||
return repo(
|
return repo(
|
||||||
'Kv',
|
'Kv',
|
||||||
'findAllBySlug',
|
'findAllBySlug',
|
||||||
this.subject(),
|
subject,
|
||||||
function retrieveTest(stub) {
|
function retrieveTest(stub) {
|
||||||
return stub(
|
return stub(
|
||||||
`/v1/kv/${id}?keys&dc=${dc}${typeof nspace !== 'undefined' ? `&ns=${nspace}` : ``}${
|
`/v1/kv/${id}?keys&dc=${dc}${typeof nspace !== 'undefined' ? `&ns=${nspace}` : ``}${
|
||||||
|
@ -49,17 +49,22 @@ const partition = 'default';
|
||||||
? partition || undefinedPartition
|
? partition || undefinedPartition
|
||||||
: 'default';
|
: 'default';
|
||||||
actual.forEach(item => {
|
actual.forEach(item => {
|
||||||
assert.equal(item.uid, `["${expectedPartition}","${expectedNspace}","${dc}","${item.Key}"]`);
|
assert.equal(
|
||||||
|
item.uid,
|
||||||
|
`["${expectedPartition}","${expectedNspace}","${dc}","${item.Key}"]`
|
||||||
|
);
|
||||||
assert.equal(item.Datacenter, dc);
|
assert.equal(item.Datacenter, dc);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
test(`findBySlug returns the correct data for item endpoint when nspace is ${nspace}`, function(assert) {
|
test(`findBySlug returns the correct data for item endpoint when nspace is ${nspace}`, function(assert) {
|
||||||
|
const subject = this.owner.lookup('service:repository/kv');
|
||||||
|
|
||||||
return repo(
|
return repo(
|
||||||
'Kv',
|
'Kv',
|
||||||
'findBySlug',
|
'findBySlug',
|
||||||
this.subject(),
|
subject,
|
||||||
function(stub) {
|
function(stub) {
|
||||||
return stub(
|
return stub(
|
||||||
`/v1/kv/${id}?dc=${dc}${typeof nspace !== 'undefined' ? `&ns=${nspace}` : ``}${
|
`/v1/kv/${id}?dc=${dc}${typeof nspace !== 'undefined' ? `&ns=${nspace}` : ``}${
|
||||||
|
@ -76,15 +81,17 @@ const partition = 'default';
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
function(actual, expected) {
|
function(actual, expected) {
|
||||||
expected(
|
expected(function(payload) {
|
||||||
function(payload) {
|
|
||||||
const item = payload[0];
|
const item = payload[0];
|
||||||
assert.equal(actual.uid, `["${item.Partition || undefinedPartition}","${item.Namespace ||
|
assert.equal(
|
||||||
undefinedNspace}","${dc}","${item.Key}"]`);
|
actual.uid,
|
||||||
assert.equal(actual.Datacenter, dc);
|
`["${item.Partition || undefinedPartition}","${item.Namespace ||
|
||||||
}
|
undefinedNspace}","${dc}","${item.Key}"]`
|
||||||
);
|
);
|
||||||
|
assert.equal(actual.Datacenter, dc);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,25 +1,25 @@
|
||||||
import { moduleFor, test } from 'ember-qunit';
|
import { setupTest } from 'ember-qunit';
|
||||||
|
import { module, test } from 'qunit';
|
||||||
import repo from 'consul-ui/tests/helpers/repo';
|
import repo from 'consul-ui/tests/helpers/repo';
|
||||||
import { get } from '@ember/object';
|
import { get } from '@ember/object';
|
||||||
const NAME = 'node';
|
|
||||||
moduleFor(`service:repository/${NAME}`, `Integration | Service | ${NAME}`, {
|
|
||||||
// Specify the other units that are required for this test.
|
|
||||||
integration: true,
|
|
||||||
});
|
|
||||||
|
|
||||||
const dc = 'dc-1';
|
const dc = 'dc-1';
|
||||||
const id = 'token-name';
|
const id = 'token-name';
|
||||||
const now = new Date().getTime();
|
const now = new Date().getTime();
|
||||||
const nspace = 'default';
|
const nspace = 'default';
|
||||||
const partition = 'default';
|
const partition = 'default';
|
||||||
test('findByDatacenter returns the correct data for list endpoint', function(assert) {
|
module(`Integration | Service | node`, function(hooks) {
|
||||||
get(this.subject(), 'store').serializerFor(NAME).timestamp = function() {
|
setupTest(hooks);
|
||||||
|
|
||||||
|
test('findByDatacenter returns the correct data for list endpoint', function(assert) {
|
||||||
|
const subject = this.owner.lookup('service:repository/node');
|
||||||
|
get(subject, 'store').serializerFor('node').timestamp = function() {
|
||||||
return now;
|
return now;
|
||||||
};
|
};
|
||||||
return repo(
|
return repo(
|
||||||
'Node',
|
'Node',
|
||||||
'findAllByDatacenter',
|
'findAllByDatacenter',
|
||||||
this.subject(),
|
subject,
|
||||||
function retrieveStub(stub) {
|
function retrieveStub(stub) {
|
||||||
return stub(
|
return stub(
|
||||||
`/v1/internal/ui/nodes?dc=${dc}${
|
`/v1/internal/ui/nodes?dc=${dc}${
|
||||||
|
@ -40,12 +40,14 @@ test('findByDatacenter returns the correct data for list endpoint', function(ass
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
test('findBySlug returns the correct data for item endpoint', function(assert) {
|
test('findBySlug returns the correct data for item endpoint', function(assert) {
|
||||||
|
const subject = this.owner.lookup('service:repository/node');
|
||||||
|
|
||||||
return repo(
|
return repo(
|
||||||
'Node',
|
'Node',
|
||||||
'findBySlug',
|
'findBySlug',
|
||||||
this.subject(),
|
subject,
|
||||||
function(stub) {
|
function(stub) {
|
||||||
return stub(
|
return stub(
|
||||||
`/v1/internal/ui/node/${id}?dc=${dc}${
|
`/v1/internal/ui/node/${id}?dc=${dc}${
|
||||||
|
@ -61,4 +63,5 @@ test('findBySlug returns the correct data for item endpoint', function(assert) {
|
||||||
assert.equal(actual.Datacenter, dc);
|
assert.equal(actual.Datacenter, dc);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,27 +1,28 @@
|
||||||
import { moduleFor, test, skip } from 'ember-qunit';
|
import { module, skip, test } from 'qunit';
|
||||||
|
import { setupTest } from 'ember-qunit';
|
||||||
import { get } from '@ember/object';
|
import { get } from '@ember/object';
|
||||||
import repo from 'consul-ui/tests/helpers/repo';
|
import repo from 'consul-ui/tests/helpers/repo';
|
||||||
const NAME = 'policy';
|
|
||||||
moduleFor(`service:repository/${NAME}`, `Integration | Service | ${NAME}`, {
|
module(`Integration | Service | policy`, function(hooks) {
|
||||||
// Specify the other units that are required for this test.
|
setupTest(hooks);
|
||||||
integration: true,
|
skip('translate returns the correct data for the translate endpoint');
|
||||||
});
|
const now = new Date().getTime();
|
||||||
skip('translate returns the correct data for the translate endpoint');
|
const dc = 'dc-1';
|
||||||
const now = new Date().getTime();
|
const id = 'policy-name';
|
||||||
const dc = 'dc-1';
|
const undefinedNspace = 'default';
|
||||||
const id = 'policy-name';
|
const undefinedPartition = 'default';
|
||||||
const undefinedNspace = 'default';
|
const partition = 'default';
|
||||||
const undefinedPartition = 'default';
|
[undefinedNspace, 'team-1', undefined].forEach(nspace => {
|
||||||
const partition = 'default';
|
|
||||||
[undefinedNspace, 'team-1', undefined].forEach(nspace => {
|
|
||||||
test(`findByDatacenter returns the correct data for list endpoint when nspace is ${nspace}`, function(assert) {
|
test(`findByDatacenter returns the correct data for list endpoint when nspace is ${nspace}`, function(assert) {
|
||||||
get(this.subject(), 'store').serializerFor(NAME).timestamp = function() {
|
const subject = this.owner.lookup('service:repository/policy');
|
||||||
|
|
||||||
|
get(subject, 'store').serializerFor('policy').timestamp = function() {
|
||||||
return now;
|
return now;
|
||||||
};
|
};
|
||||||
return repo(
|
return repo(
|
||||||
'Policy',
|
'Policy',
|
||||||
'findAllByDatacenter',
|
'findAllByDatacenter',
|
||||||
this.subject(),
|
subject,
|
||||||
function retrieveStub(stub) {
|
function retrieveStub(stub) {
|
||||||
return stub(
|
return stub(
|
||||||
`/v1/acl/policies?dc=${dc}${typeof nspace !== 'undefined' ? `&ns=${nspace}` : ``}${
|
`/v1/acl/policies?dc=${dc}${typeof nspace !== 'undefined' ? `&ns=${nspace}` : ``}${
|
||||||
|
@ -59,10 +60,11 @@ const partition = 'default';
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
test(`findBySlug returns the correct data for item endpoint when the nspace is ${nspace}`, function(assert) {
|
test(`findBySlug returns the correct data for item endpoint when the nspace is ${nspace}`, function(assert) {
|
||||||
|
const subject = this.owner.lookup('service:repository/policy');
|
||||||
return repo(
|
return repo(
|
||||||
'Policy',
|
'Policy',
|
||||||
'findBySlug',
|
'findBySlug',
|
||||||
this.subject(),
|
subject,
|
||||||
function retrieveStub(stub) {
|
function retrieveStub(stub) {
|
||||||
return stub(
|
return stub(
|
||||||
`/v1/acl/policy/${id}?dc=${dc}${typeof nspace !== 'undefined' ? `&ns=${nspace}` : ``}${
|
`/v1/acl/policy/${id}?dc=${dc}${typeof nspace !== 'undefined' ? `&ns=${nspace}` : ``}${
|
||||||
|
@ -89,4 +91,5 @@ const partition = 'default';
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,28 +1,28 @@
|
||||||
import { moduleFor, test, skip } from 'ember-qunit';
|
import { module, skip, test } from 'qunit';
|
||||||
|
import { setupTest } from 'ember-qunit';
|
||||||
import { get } from '@ember/object';
|
import { get } from '@ember/object';
|
||||||
import repo from 'consul-ui/tests/helpers/repo';
|
import repo from 'consul-ui/tests/helpers/repo';
|
||||||
import { createPolicies } from 'consul-ui/tests/helpers/normalizers';
|
import { createPolicies } from 'consul-ui/tests/helpers/normalizers';
|
||||||
|
|
||||||
const NAME = 'role';
|
module(`Integration | Service | role`, function(hooks) {
|
||||||
moduleFor(`service:repository/${NAME}`, `Integration | Service | ${NAME}`, {
|
setupTest(hooks);
|
||||||
// Specify the other units that are required for this test.
|
const now = new Date().getTime();
|
||||||
integration: true,
|
const dc = 'dc-1';
|
||||||
});
|
const id = 'role-name';
|
||||||
const now = new Date().getTime();
|
const undefinedNspace = 'default';
|
||||||
const dc = 'dc-1';
|
const undefinedPartition = 'default';
|
||||||
const id = 'role-name';
|
const partition = 'default';
|
||||||
const undefinedNspace = 'default';
|
[undefinedNspace, 'team-1', undefined].forEach(nspace => {
|
||||||
const undefinedPartition = 'default';
|
|
||||||
const partition = 'default';
|
|
||||||
[undefinedNspace, 'team-1', undefined].forEach(nspace => {
|
|
||||||
test(`findByDatacenter returns the correct data for list endpoint when nspace is ${nspace}`, function(assert) {
|
test(`findByDatacenter returns the correct data for list endpoint when nspace is ${nspace}`, function(assert) {
|
||||||
get(this.subject(), 'store').serializerFor(NAME).timestamp = function() {
|
const subject = this.owner.lookup('service:repository/role');
|
||||||
|
|
||||||
|
get(subject, 'store').serializerFor('role').timestamp = function() {
|
||||||
return now;
|
return now;
|
||||||
};
|
};
|
||||||
return repo(
|
return repo(
|
||||||
'Role',
|
'Role',
|
||||||
'findAllByDatacenter',
|
'findAllByDatacenter',
|
||||||
this.subject(),
|
subject,
|
||||||
function retrieveStub(stub) {
|
function retrieveStub(stub) {
|
||||||
return stub(
|
return stub(
|
||||||
`/v1/acl/roles?dc=${dc}${typeof nspace !== 'undefined' ? `&ns=${nspace}` : ``}${
|
`/v1/acl/roles?dc=${dc}${typeof nspace !== 'undefined' ? `&ns=${nspace}` : ``}${
|
||||||
|
@ -62,10 +62,12 @@ const partition = 'default';
|
||||||
});
|
});
|
||||||
// FIXME: For some reason this tries to initialize the metrics service?
|
// FIXME: For some reason this tries to initialize the metrics service?
|
||||||
skip(`findBySlug returns the correct data for item endpoint when the nspace is ${nspace}`, function(assert) {
|
skip(`findBySlug returns the correct data for item endpoint when the nspace is ${nspace}`, function(assert) {
|
||||||
|
const subject = this.owner.lookup('service:repository/role');
|
||||||
|
|
||||||
return repo(
|
return repo(
|
||||||
'Role',
|
'Role',
|
||||||
'findBySlug',
|
'findBySlug',
|
||||||
this.subject(),
|
subject,
|
||||||
function retrieveStub(stub) {
|
function retrieveStub(stub) {
|
||||||
return stub(
|
return stub(
|
||||||
`/v1/acl/role/${id}?dc=${dc}${typeof nspace !== 'undefined' ? `&ns=${nspace}` : ``}${
|
`/v1/acl/role/${id}?dc=${dc}${typeof nspace !== 'undefined' ? `&ns=${nspace}` : ``}${
|
||||||
|
@ -99,4 +101,5 @@ const partition = 'default';
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,19 +1,19 @@
|
||||||
import { moduleFor, test } from 'ember-qunit';
|
import { module, test } from 'qunit';
|
||||||
|
import { setupTest } from 'ember-qunit';
|
||||||
import repo from 'consul-ui/tests/helpers/repo';
|
import repo from 'consul-ui/tests/helpers/repo';
|
||||||
import { get } from '@ember/object';
|
import { get } from '@ember/object';
|
||||||
const NAME = 'service';
|
|
||||||
moduleFor(`service:repository/${NAME}`, `Integration | Service | ${NAME}`, {
|
module(`Integration | Service | service`, function(hooks) {
|
||||||
// Specify the other units that are required for this test.
|
setupTest(hooks);
|
||||||
integration: true,
|
const dc = 'dc-1';
|
||||||
});
|
const now = new Date().getTime();
|
||||||
const dc = 'dc-1';
|
const undefinedNspace = 'default';
|
||||||
const now = new Date().getTime();
|
const undefinedPartition = 'default';
|
||||||
const undefinedNspace = 'default';
|
const partition = 'default';
|
||||||
const undefinedPartition = 'default';
|
[undefinedNspace, 'team-1', undefined].forEach(nspace => {
|
||||||
const partition = 'default';
|
|
||||||
[undefinedNspace, 'team-1', undefined].forEach(nspace => {
|
|
||||||
test(`findGatewayBySlug returns the correct data for list endpoint when nspace is ${nspace}`, function(assert) {
|
test(`findGatewayBySlug returns the correct data for list endpoint when nspace is ${nspace}`, function(assert) {
|
||||||
get(this.subject(), 'store').serializerFor(NAME).timestamp = function() {
|
const subject = this.owner.lookup('service:repository/service');
|
||||||
|
get(subject, 'store').serializerFor('service').timestamp = function() {
|
||||||
return now;
|
return now;
|
||||||
};
|
};
|
||||||
const gateway = 'gateway';
|
const gateway = 'gateway';
|
||||||
|
@ -23,7 +23,7 @@ const partition = 'default';
|
||||||
return repo(
|
return repo(
|
||||||
'Service',
|
'Service',
|
||||||
'findGatewayBySlug',
|
'findGatewayBySlug',
|
||||||
this.subject(),
|
subject,
|
||||||
function retrieveStub(stub) {
|
function retrieveStub(stub) {
|
||||||
return stub(
|
return stub(
|
||||||
`/v1/internal/ui/gateway-services-nodes/${gateway}?dc=${dc}${
|
`/v1/internal/ui/gateway-services-nodes/${gateway}?dc=${dc}${
|
||||||
|
@ -66,4 +66,5 @@ const partition = 'default';
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,32 +1,33 @@
|
||||||
import { moduleFor, test } from 'ember-qunit';
|
import { module, test } from 'qunit';
|
||||||
|
import { setupTest } from 'ember-qunit';
|
||||||
import repo from 'consul-ui/tests/helpers/repo';
|
import repo from 'consul-ui/tests/helpers/repo';
|
||||||
import { get } from '@ember/object';
|
import { get } from '@ember/object';
|
||||||
const NAME = 'session';
|
|
||||||
moduleFor(`service:repository/${NAME}`, `Integration | Service | ${NAME}`, {
|
|
||||||
// Specify the other units that are required for this test.
|
|
||||||
integration: true,
|
|
||||||
});
|
|
||||||
|
|
||||||
const dc = 'dc-1';
|
module(`Integration | Service | session`, function(hooks) {
|
||||||
const id = 'node-name';
|
setupTest(hooks);
|
||||||
const now = new Date().getTime();
|
|
||||||
const undefinedNspace = 'default';
|
const dc = 'dc-1';
|
||||||
const undefinedPartition = 'default';
|
const id = 'node-name';
|
||||||
const partition = 'default';
|
const now = new Date().getTime();
|
||||||
[undefinedNspace, 'team-1', undefined].forEach(nspace => {
|
const undefinedNspace = 'default';
|
||||||
|
const undefinedPartition = 'default';
|
||||||
|
const partition = 'default';
|
||||||
|
[undefinedNspace, 'team-1', undefined].forEach(nspace => {
|
||||||
test(`findByNode returns the correct data for list endpoint when the nspace is ${nspace}`, function(assert) {
|
test(`findByNode returns the correct data for list endpoint when the nspace is ${nspace}`, function(assert) {
|
||||||
get(this.subject(), 'store').serializerFor(NAME).timestamp = function() {
|
const subject = this.owner.lookup('service:repository/session');
|
||||||
|
|
||||||
|
get(subject, 'store').serializerFor('session').timestamp = function() {
|
||||||
return now;
|
return now;
|
||||||
};
|
};
|
||||||
return repo(
|
return repo(
|
||||||
'Session',
|
'Session',
|
||||||
'findByNode',
|
'findByNode',
|
||||||
this.subject(),
|
subject,
|
||||||
function retrieveStub(stub) {
|
function retrieveStub(stub) {
|
||||||
return stub(
|
return stub(
|
||||||
`/v1/session/node/${id}?dc=${dc}${typeof nspace !== 'undefined' ? `&ns=${nspace}` : ``}${
|
`/v1/session/node/${id}?dc=${dc}${
|
||||||
typeof partition !== 'undefined' ? `&partition=${partition}` : ``
|
typeof nspace !== 'undefined' ? `&ns=${nspace}` : ``
|
||||||
}`,
|
}${typeof partition !== 'undefined' ? `&partition=${partition}` : ``}`,
|
||||||
{
|
{
|
||||||
CONSUL_SESSION_COUNT: '100',
|
CONSUL_SESSION_COUNT: '100',
|
||||||
}
|
}
|
||||||
|
@ -60,15 +61,16 @@ const partition = 'default';
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
test(`findByKey returns the correct data for item endpoint when the nspace is ${nspace}`, function(assert) {
|
test(`findByKey returns the correct data for item endpoint when the nspace is ${nspace}`, function(assert) {
|
||||||
|
const subject = this.owner.lookup('service:repository/session');
|
||||||
return repo(
|
return repo(
|
||||||
'Session',
|
'Session',
|
||||||
'findByKey',
|
'findByKey',
|
||||||
this.subject(),
|
subject,
|
||||||
function(stub) {
|
function(stub) {
|
||||||
return stub(
|
return stub(
|
||||||
`/v1/session/info/${id}?dc=${dc}${typeof nspace !== 'undefined' ? `&ns=${nspace}` : ``}${
|
`/v1/session/info/${id}?dc=${dc}${
|
||||||
typeof partition !== 'undefined' ? `&partition=${partition}` : ``
|
typeof nspace !== 'undefined' ? `&ns=${nspace}` : ``
|
||||||
}`
|
}${typeof partition !== 'undefined' ? `&partition=${partition}` : ``}`
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
function(service) {
|
function(service) {
|
||||||
|
@ -96,4 +98,5 @@ const partition = 'default';
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,24 +1,23 @@
|
||||||
import { moduleFor, test, skip } from 'ember-qunit';
|
import { module, skip, test } from 'qunit';
|
||||||
|
import { setupTest } from 'ember-qunit';
|
||||||
import repo from 'consul-ui/tests/helpers/repo';
|
import repo from 'consul-ui/tests/helpers/repo';
|
||||||
import { createPolicies } from 'consul-ui/tests/helpers/normalizers';
|
import { createPolicies } from 'consul-ui/tests/helpers/normalizers';
|
||||||
|
|
||||||
const NAME = 'token';
|
module(`Integration | Service | token`, function(hooks) {
|
||||||
moduleFor(`service:repository/${NAME}`, `Integration | Service | ${NAME}`, {
|
setupTest(hooks);
|
||||||
// Specify the other units that are required for this test.
|
skip('clone returns the correct data for the clone endpoint');
|
||||||
integration: true,
|
const dc = 'dc-1';
|
||||||
});
|
const id = 'token-id';
|
||||||
skip('clone returns the correct data for the clone endpoint');
|
const undefinedNspace = 'default';
|
||||||
const dc = 'dc-1';
|
const undefinedPartition = 'default';
|
||||||
const id = 'token-id';
|
const partition = 'default';
|
||||||
const undefinedNspace = 'default';
|
[undefinedNspace, 'team-1', undefined].forEach(nspace => {
|
||||||
const undefinedPartition = 'default';
|
|
||||||
const partition = 'default';
|
|
||||||
[undefinedNspace, 'team-1', undefined].forEach(nspace => {
|
|
||||||
test(`findByDatacenter returns the correct data for list endpoint when nspace is ${nspace}`, function(assert) {
|
test(`findByDatacenter returns the correct data for list endpoint when nspace is ${nspace}`, function(assert) {
|
||||||
|
const subject = this.owner.lookup('service:repository/token');
|
||||||
return repo(
|
return repo(
|
||||||
'Token',
|
'Token',
|
||||||
'findAllByDatacenter',
|
'findAllByDatacenter',
|
||||||
this.subject(),
|
subject,
|
||||||
function retrieveStub(stub) {
|
function retrieveStub(stub) {
|
||||||
return stub(
|
return stub(
|
||||||
`/v1/acl/tokens?dc=${dc}${typeof nspace !== 'undefined' ? `&ns=${nspace}` : ``}${
|
`/v1/acl/tokens?dc=${dc}${typeof nspace !== 'undefined' ? `&ns=${nspace}` : ``}${
|
||||||
|
@ -57,10 +56,11 @@ const partition = 'default';
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
test(`findBySlug returns the correct data for item endpoint when nspace is ${nspace}`, function(assert) {
|
test(`findBySlug returns the correct data for item endpoint when nspace is ${nspace}`, function(assert) {
|
||||||
|
const subject = this.owner.lookup('service:repository/token');
|
||||||
return repo(
|
return repo(
|
||||||
'Token',
|
'Token',
|
||||||
'findBySlug',
|
'findBySlug',
|
||||||
this.subject(),
|
subject,
|
||||||
function retrieveStub(stub) {
|
function retrieveStub(stub) {
|
||||||
return stub(
|
return stub(
|
||||||
`/v1/acl/token/${id}?dc=${dc}${typeof nspace !== 'undefined' ? `&ns=${nspace}` : ``}${
|
`/v1/acl/token/${id}?dc=${dc}${typeof nspace !== 'undefined' ? `&ns=${nspace}` : ``}${
|
||||||
|
@ -91,11 +91,12 @@ const partition = 'default';
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
test(`findByPolicy returns the correct data when nspace is ${nspace}`, function(assert) {
|
test(`findByPolicy returns the correct data when nspace is ${nspace}`, function(assert) {
|
||||||
|
const subject = this.owner.lookup('service:repository/token');
|
||||||
const policy = 'policy-1';
|
const policy = 'policy-1';
|
||||||
return repo(
|
return repo(
|
||||||
'Token',
|
'Token',
|
||||||
'findByPolicy',
|
'findByPolicy',
|
||||||
this.subject(),
|
subject,
|
||||||
function retrieveStub(stub) {
|
function retrieveStub(stub) {
|
||||||
return stub(
|
return stub(
|
||||||
`/v1/acl/tokens?dc=${dc}&policy=${policy}${
|
`/v1/acl/tokens?dc=${dc}&policy=${policy}${
|
||||||
|
@ -135,11 +136,12 @@ const partition = 'default';
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
test(`findByRole returns the correct data when nspace is ${nspace}`, function(assert) {
|
test(`findByRole returns the correct data when nspace is ${nspace}`, function(assert) {
|
||||||
|
const subject = this.owner.lookup('service:repository/token');
|
||||||
const role = 'role-1';
|
const role = 'role-1';
|
||||||
return repo(
|
return repo(
|
||||||
'Token',
|
'Token',
|
||||||
'findByPolicy',
|
'findByPolicy',
|
||||||
this.subject(),
|
subject,
|
||||||
function retrieveStub(stub) {
|
function retrieveStub(stub) {
|
||||||
return stub(
|
return stub(
|
||||||
`/v1/acl/tokens?dc=${dc}&role=${role}${
|
`/v1/acl/tokens?dc=${dc}&role=${role}${
|
||||||
|
@ -178,4 +180,5 @@ const partition = 'default';
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,18 +1,17 @@
|
||||||
import { moduleFor, test } from 'ember-qunit';
|
import { module, test } from 'qunit';
|
||||||
|
import { setupTest } from 'ember-qunit';
|
||||||
import repo from 'consul-ui/tests/helpers/repo';
|
import repo from 'consul-ui/tests/helpers/repo';
|
||||||
|
|
||||||
moduleFor('service:repository/topology', 'Integration | Service | topology', {
|
module('Integration | Service | topology', function(hooks) {
|
||||||
// Specify the other units that are required for this test.
|
setupTest(hooks);
|
||||||
integration: true,
|
const dc = 'dc-1';
|
||||||
});
|
const id = 'slug';
|
||||||
const dc = 'dc-1';
|
const kind = '';
|
||||||
const id = 'slug';
|
test('findBySlug returns the correct data for item endpoint', function(assert) {
|
||||||
const kind = '';
|
|
||||||
test('findBySlug returns the correct data for item endpoint', function(assert) {
|
|
||||||
return repo(
|
return repo(
|
||||||
'Service',
|
'Service',
|
||||||
'findBySlug',
|
'findBySlug',
|
||||||
this.subject(),
|
this.owner.lookup('service:repository/topology'),
|
||||||
function retrieveStub(stub) {
|
function retrieveStub(stub) {
|
||||||
return stub(`/v1/internal/ui/service-topology/${id}?dc=${dc}&${kind}`, {
|
return stub(`/v1/internal/ui/service-topology/${id}?dc=${dc}&${kind}`, {
|
||||||
CONSUL_DISCOVERY_CHAIN_COUNT: 1,
|
CONSUL_DISCOVERY_CHAIN_COUNT: 1,
|
||||||
|
@ -40,4 +39,5 @@ test('findBySlug returns the correct data for item endpoint', function(assert) {
|
||||||
assert.equal(actual.uid, result.uid);
|
assert.equal(actual.uid, result.uid);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,20 +1,20 @@
|
||||||
import { moduleFor, test } from 'ember-qunit';
|
import { module, test } from 'qunit';
|
||||||
moduleFor('service:routlet', 'Integration | Routlet', {
|
import { setupTest } from 'ember-qunit';
|
||||||
// Specify the other units that are required for this test.
|
|
||||||
integration: true,
|
module('Integration | Routlet', function(hooks) {
|
||||||
});
|
setupTest(hooks);
|
||||||
test('outletFor works', function(assert) {
|
test('outletFor works', function(assert) {
|
||||||
const routlet = this.subject();
|
const routlet = this.owner.lookup('service:routlet');
|
||||||
routlet.addOutlet('application', {
|
routlet.addOutlet('application', {
|
||||||
name: 'application'
|
name: 'application',
|
||||||
});
|
});
|
||||||
routlet.addRoute('dc', {});
|
routlet.addRoute('dc', {});
|
||||||
routlet.addOutlet('dc', {
|
routlet.addOutlet('dc', {
|
||||||
name: 'dc'
|
name: 'dc',
|
||||||
});
|
});
|
||||||
routlet.addRoute('dc.services', {});
|
routlet.addRoute('dc.services', {});
|
||||||
routlet.addOutlet('dc.services', {
|
routlet.addOutlet('dc.services', {
|
||||||
name: 'dc.services'
|
name: 'dc.services',
|
||||||
});
|
});
|
||||||
routlet.addRoute('dc.services.instances', {});
|
routlet.addRoute('dc.services.instances', {});
|
||||||
|
|
||||||
|
@ -29,4 +29,5 @@ test('outletFor works', function(assert) {
|
||||||
actual = routlet.outletFor('application');
|
actual = routlet.outletFor('application');
|
||||||
expected = undefined;
|
expected = undefined;
|
||||||
assert.equal(actual, expected);
|
assert.equal(actual, expected);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
import domEventSourceCallable from 'consul-ui/utils/dom/event-source/callable';
|
import domEventSourceCallable from 'consul-ui/utils/dom/event-source/callable';
|
||||||
import EventTarget from 'consul-ui/utils/dom/event-target/rsvp';
|
import EventTarget from 'consul-ui/utils/dom/event-target/rsvp';
|
||||||
|
|
||||||
import { module, skip } from 'qunit';
|
import { module, test, skip } from 'qunit';
|
||||||
import { setupTest } from 'ember-qunit';
|
import { setupTest } from 'ember-qunit';
|
||||||
import test from 'ember-sinon-qunit/test-support/test';
|
import sinon from 'sinon';
|
||||||
|
|
||||||
module('Integration | Utility | dom/event-source/callable', function(hooks) {
|
module('Integration | Utility | dom/event-source/callable', function(hooks) {
|
||||||
setupTest(hooks);
|
setupTest(hooks);
|
||||||
test('it dispatches messages', function(assert) {
|
test('it dispatches messages', function(assert) {
|
||||||
assert.expect(1);
|
assert.expect(1);
|
||||||
const EventSource = domEventSourceCallable(EventTarget);
|
const EventSource = domEventSourceCallable(EventTarget);
|
||||||
const listener = this.stub();
|
const listener = sinon.stub();
|
||||||
const source = new EventSource(
|
const source = new EventSource(
|
||||||
function(configuration) {
|
function(configuration) {
|
||||||
return new Promise(resolve => {
|
return new Promise(resolve => {
|
||||||
|
@ -45,7 +45,7 @@ module('Integration | Utility | dom/event-source/callable', function(hooks) {
|
||||||
skip('it dispatches a single open event and closes when called with no callable', function(assert) {
|
skip('it dispatches a single open event and closes when called with no callable', function(assert) {
|
||||||
assert.expect(4);
|
assert.expect(4);
|
||||||
const EventSource = domEventSourceCallable(EventTarget, Promise);
|
const EventSource = domEventSourceCallable(EventTarget, Promise);
|
||||||
const listener = this.stub();
|
const listener = sinon.stub();
|
||||||
const source = new EventSource();
|
const source = new EventSource();
|
||||||
source.addEventListener('open', function(e) {
|
source.addEventListener('open', function(e) {
|
||||||
assert.deepEqual(e.target, this);
|
assert.deepEqual(e.target, this);
|
||||||
|
@ -60,7 +60,7 @@ module('Integration | Utility | dom/event-source/callable', function(hooks) {
|
||||||
test('it dispatches a single open event, and calls the specified callable that can dispatch an event', function(assert) {
|
test('it dispatches a single open event, and calls the specified callable that can dispatch an event', function(assert) {
|
||||||
assert.expect(1);
|
assert.expect(1);
|
||||||
const EventSource = domEventSourceCallable(EventTarget);
|
const EventSource = domEventSourceCallable(EventTarget);
|
||||||
const listener = this.stub();
|
const listener = sinon.stub();
|
||||||
const source = new EventSource(function() {
|
const source = new EventSource(function() {
|
||||||
return new Promise(resolve => {
|
return new Promise(resolve => {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
@ -87,7 +87,7 @@ module('Integration | Utility | dom/event-source/callable', function(hooks) {
|
||||||
test("it can be closed before the first tick, and therefore doesn't run", function(assert) {
|
test("it can be closed before the first tick, and therefore doesn't run", function(assert) {
|
||||||
assert.expect(4);
|
assert.expect(4);
|
||||||
const EventSource = domEventSourceCallable(EventTarget);
|
const EventSource = domEventSourceCallable(EventTarget);
|
||||||
const listener = this.stub();
|
const listener = sinon.stub();
|
||||||
const source = new EventSource();
|
const source = new EventSource();
|
||||||
assert.equal(source.readyState, 0);
|
assert.equal(source.readyState, 0);
|
||||||
source.close();
|
source.close();
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
export default function(scenario, find, fillIn, triggerKeyEvent, currentPage) {
|
export default function(scenario, find, fillIn, triggerKeyEvent, currentPage) {
|
||||||
const dont = `( don't| shouldn't| can't)?`;
|
const dont = `( don't| shouldn't| can't)?`;
|
||||||
const fillInElement = function(page, name, value) {
|
const fillInElement = async function(page, name, value) {
|
||||||
const cm = document.querySelector(`textarea[name="${name}"] + .CodeMirror`);
|
const cm = document.querySelector(`textarea[name="${name}"] + .CodeMirror`);
|
||||||
if (cm) {
|
if (cm) {
|
||||||
if (!cm.CodeMirror.options.readOnly) {
|
if (!cm.CodeMirror.options.readOnly) {
|
||||||
|
@ -11,7 +11,7 @@ export default function(scenario, find, fillIn, triggerKeyEvent, currentPage) {
|
||||||
return page;
|
return page;
|
||||||
} else {
|
} else {
|
||||||
const $el = document.querySelector(`[name="${name}"]`);
|
const $el = document.querySelector(`[name="${name}"]`);
|
||||||
fillIn($el, value);
|
await fillIn($el, value);
|
||||||
return page;
|
return page;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -57,11 +57,13 @@ export default function(scenario, find, fillIn, triggerKeyEvent, currentPage) {
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
obj = currentPage();
|
obj = currentPage();
|
||||||
}
|
}
|
||||||
const res = Object.keys(data).reduce(function(prev, item, i, arr) {
|
const res = Object.keys(data).reduce(async function(prev, item, i, arr) {
|
||||||
|
await prev;
|
||||||
|
|
||||||
const name = `${obj.prefix || property}[${item}]`;
|
const name = `${obj.prefix || property}[${item}]`;
|
||||||
if (negative) {
|
if (negative) {
|
||||||
try {
|
try {
|
||||||
fillInElement(prev, name, data[item]);
|
await fillInElement(obj, name, data[item]);
|
||||||
throw new TypeError(`${item} is editable`);
|
throw new TypeError(`${item} is editable`);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
if (e instanceof TypeError) {
|
if (e instanceof TypeError) {
|
||||||
|
@ -69,10 +71,9 @@ export default function(scenario, find, fillIn, triggerKeyEvent, currentPage) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
return fillInElement(prev, name, data[item]);
|
return await fillInElement(obj, name, data[item]);
|
||||||
}
|
}
|
||||||
}, obj);
|
}, Promise.resolve());
|
||||||
await new Promise(resolve => setTimeout(resolve, 0));
|
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,9 +1,12 @@
|
||||||
import Application from '../app';
|
import Application from '../app';
|
||||||
import config from '../config/environment';
|
import config from '../config/environment';
|
||||||
|
import * as QUnit from 'qunit';
|
||||||
import { setApplication } from '@ember/test-helpers';
|
import { setApplication } from '@ember/test-helpers';
|
||||||
|
import { setup } from 'qunit-dom';
|
||||||
import { registerWaiter } from '@ember/test';
|
import { registerWaiter } from '@ember/test';
|
||||||
import './helpers/flash-message';
|
import './helpers/flash-message';
|
||||||
import start from 'ember-exam/test-support/start';
|
import start from 'ember-exam/test-support/start';
|
||||||
|
import setupSinon from 'ember-sinon-qunit';
|
||||||
|
|
||||||
import ClientConnections from 'consul-ui/services/client/connections';
|
import ClientConnections from 'consul-ui/services/client/connections';
|
||||||
|
|
||||||
|
@ -33,6 +36,10 @@ ClientConnections.reopen({
|
||||||
});
|
});
|
||||||
const application = Application.create(config.APP);
|
const application = Application.create(config.APP);
|
||||||
application.inject('component:copy-button', 'clipboard', 'service:clipboard/local-storage');
|
application.inject('component:copy-button', 'clipboard', 'service:clipboard/local-storage');
|
||||||
|
|
||||||
setApplication(application);
|
setApplication(application);
|
||||||
|
|
||||||
|
setup(QUnit.assert);
|
||||||
|
setupSinon();
|
||||||
|
|
||||||
start();
|
start();
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import { module } from 'qunit';
|
import { module, test } from 'qunit';
|
||||||
import test from 'ember-sinon-qunit/test-support/test';
|
|
||||||
import { setupTest } from 'ember-qunit';
|
import { setupTest } from 'ember-qunit';
|
||||||
|
|
||||||
module('Unit | Adapter | application', function(hooks) {
|
module('Unit | Adapter | application', function(hooks) {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import { module, skip } from 'qunit';
|
import { module, test, skip } from 'qunit';
|
||||||
import { setupTest } from 'ember-qunit';
|
import { setupTest } from 'ember-qunit';
|
||||||
import test from 'ember-sinon-qunit/test-support/test';
|
|
||||||
import Route from '@ember/routing/route';
|
import Route from '@ember/routing/route';
|
||||||
import Mixin from 'consul-ui/mixins/with-blocking-actions';
|
import Mixin from 'consul-ui/mixins/with-blocking-actions';
|
||||||
|
import sinon from 'sinon';
|
||||||
|
|
||||||
module('Unit | Mixin | with blocking actions', function(hooks) {
|
module('Unit | Mixin | with blocking actions', function(hooks) {
|
||||||
setupTest(hooks);
|
setupTest(hooks);
|
||||||
|
@ -24,7 +24,7 @@ module('Unit | Mixin | with blocking actions', function(hooks) {
|
||||||
test('afterCreate just calls afterUpdate', function(assert) {
|
test('afterCreate just calls afterUpdate', function(assert) {
|
||||||
const subject = this.subject();
|
const subject = this.subject();
|
||||||
const expected = [1, 2, 3, 4];
|
const expected = [1, 2, 3, 4];
|
||||||
const afterUpdate = this.stub(subject, 'afterUpdate').returns(expected);
|
const afterUpdate = sinon.stub(subject, 'afterUpdate').returns(expected);
|
||||||
const actual = subject.afterCreate(expected);
|
const actual = subject.afterCreate(expected);
|
||||||
assert.deepEqual(actual, expected);
|
assert.deepEqual(actual, expected);
|
||||||
assert.ok(afterUpdate.calledOnce);
|
assert.ok(afterUpdate.calledOnce);
|
||||||
|
@ -33,7 +33,7 @@ module('Unit | Mixin | with blocking actions', function(hooks) {
|
||||||
const subject = this.subject();
|
const subject = this.subject();
|
||||||
const expected = 'dc.kv';
|
const expected = 'dc.kv';
|
||||||
subject.routeName = expected + '.edit';
|
subject.routeName = expected + '.edit';
|
||||||
const transitionTo = this.stub(subject, 'transitionTo').returnsArg(0);
|
const transitionTo = sinon.stub(subject, 'transitionTo').returnsArg(0);
|
||||||
const actual = subject.afterUpdate();
|
const actual = subject.afterUpdate();
|
||||||
assert.equal(actual, expected);
|
assert.equal(actual, expected);
|
||||||
assert.ok(transitionTo.calledOnce);
|
assert.ok(transitionTo.calledOnce);
|
||||||
|
@ -42,7 +42,7 @@ module('Unit | Mixin | with blocking actions', function(hooks) {
|
||||||
const subject = this.subject();
|
const subject = this.subject();
|
||||||
const expected = 'dc.kv';
|
const expected = 'dc.kv';
|
||||||
subject.routeName = expected + '.edit';
|
subject.routeName = expected + '.edit';
|
||||||
const transitionTo = this.stub(subject, 'transitionTo').returnsArg(0);
|
const transitionTo = sinon.stub(subject, 'transitionTo').returnsArg(0);
|
||||||
const actual = subject.afterDelete();
|
const actual = subject.afterDelete();
|
||||||
assert.equal(actual, expected);
|
assert.equal(actual, expected);
|
||||||
assert.ok(transitionTo.calledOnce);
|
assert.ok(transitionTo.calledOnce);
|
||||||
|
@ -51,7 +51,7 @@ module('Unit | Mixin | with blocking actions', function(hooks) {
|
||||||
const subject = this.subject();
|
const subject = this.subject();
|
||||||
subject.routeName = 'dc.kv.index';
|
subject.routeName = 'dc.kv.index';
|
||||||
const expected = 'refresh';
|
const expected = 'refresh';
|
||||||
const refresh = this.stub(subject, 'refresh').returns(expected);
|
const refresh = sinon.stub(subject, 'refresh').returns(expected);
|
||||||
const actual = subject.afterDelete();
|
const actual = subject.afterDelete();
|
||||||
assert.equal(actual, expected);
|
assert.equal(actual, expected);
|
||||||
assert.ok(refresh.calledOnce);
|
assert.ok(refresh.calledOnce);
|
||||||
|
@ -67,7 +67,7 @@ module('Unit | Mixin | with blocking actions', function(hooks) {
|
||||||
test('action cancel just calls afterUpdate', function(assert) {
|
test('action cancel just calls afterUpdate', function(assert) {
|
||||||
const subject = this.subject();
|
const subject = this.subject();
|
||||||
const expected = [1, 2, 3, 4];
|
const expected = [1, 2, 3, 4];
|
||||||
const afterUpdate = this.stub(subject, 'afterUpdate').returns(expected);
|
const afterUpdate = sinon.stub(subject, 'afterUpdate').returns(expected);
|
||||||
// TODO: unsure as to whether ember testing should actually bind this for you?
|
// TODO: unsure as to whether ember testing should actually bind this for you?
|
||||||
const actual = subject.actions.cancel.bind(subject)(expected);
|
const actual = subject.actions.cancel.bind(subject)(expected);
|
||||||
assert.deepEqual(actual, expected);
|
assert.deepEqual(actual, expected);
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
import { module } from 'qunit';
|
import { module, test } from 'qunit';
|
||||||
import { setupTest } from 'ember-qunit';
|
import { setupTest } from 'ember-qunit';
|
||||||
import test from 'ember-sinon-qunit/test-support/test';
|
|
||||||
|
|
||||||
module('Unit | Route | dc', function(hooks) {
|
module('Unit | Route | dc', function(hooks) {
|
||||||
setupTest(hooks);
|
setupTest(hooks);
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import { module } from 'qunit';
|
import { module, test } from 'qunit';
|
||||||
import test from 'ember-sinon-qunit/test-support/test';
|
|
||||||
import { setupTest } from 'ember-qunit';
|
import { setupTest } from 'ember-qunit';
|
||||||
import { HEADERS_SYMBOL as META } from 'consul-ui/utils/http/consul';
|
import { HEADERS_SYMBOL as META } from 'consul-ui/utils/http/consul';
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import { module, skip } from 'qunit';
|
import { module, skip, test } from 'qunit';
|
||||||
import test from 'ember-sinon-qunit/test-support/test';
|
|
||||||
import { setupTest } from 'ember-qunit';
|
import { setupTest } from 'ember-qunit';
|
||||||
import { run } from '@ember/runloop';
|
import { run } from '@ember/runloop';
|
||||||
import { set } from '@ember/object';
|
import { set } from '@ember/object';
|
||||||
|
import sinon from 'sinon';
|
||||||
|
|
||||||
module('Unit | Serializer | kv', function(hooks) {
|
module('Unit | Serializer | kv', function(hooks) {
|
||||||
setupTest(hooks);
|
setupTest(hooks);
|
||||||
|
@ -101,7 +101,7 @@ module('Unit | Serializer | kv', function(hooks) {
|
||||||
test('serialize decodes Value if its a string', function(assert) {
|
test('serialize decodes Value if its a string', function(assert) {
|
||||||
const serializer = this.owner.lookup('serializer:kv');
|
const serializer = this.owner.lookup('serializer:kv');
|
||||||
set(serializer, 'decoder', {
|
set(serializer, 'decoder', {
|
||||||
execute: this.stub().returnsArg(0),
|
execute: sinon.stub().returnsArg(0),
|
||||||
});
|
});
|
||||||
//
|
//
|
||||||
const expected = 'value';
|
const expected = 'value';
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import { module } from 'qunit';
|
import { module, test } from 'qunit';
|
||||||
import test from 'ember-sinon-qunit/test-support/test';
|
|
||||||
import ascend from 'consul-ui/utils/ascend';
|
import ascend from 'consul-ui/utils/ascend';
|
||||||
|
|
||||||
module('Unit | Utils | ascend', function() {
|
module('Unit | Utils | ascend', function() {
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import test from 'ember-sinon-qunit/test-support/test';
|
import { module, skip, test } from 'qunit';
|
||||||
import { module, skip } from 'qunit';
|
|
||||||
import atob from 'consul-ui/utils/atob';
|
import atob from 'consul-ui/utils/atob';
|
||||||
|
|
||||||
module('Unit | Utils | atob', function() {
|
module('Unit | Utils | atob', function() {
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import { module } from 'qunit';
|
import { module, test } from 'qunit';
|
||||||
import test from 'ember-sinon-qunit/test-support/test';
|
|
||||||
import btoa from 'consul-ui/utils/btoa';
|
import btoa from 'consul-ui/utils/btoa';
|
||||||
|
|
||||||
module('Unit | Utils | btoa', function() {
|
module('Unit | Utils | btoa', function() {
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
import domClosest from 'consul-ui/utils/dom/closest';
|
import domClosest from 'consul-ui/utils/dom/closest';
|
||||||
import test from 'ember-sinon-qunit/test-support/test';
|
import { module, skip, test } from 'qunit';
|
||||||
import { module, skip } from 'qunit';
|
import sinon from 'sinon';
|
||||||
|
|
||||||
module('Unit | Utility | dom/closest', function() {
|
module('Unit | Utility | dom/closest', function() {
|
||||||
test('it calls Element.closest with the specified selector', function(assert) {
|
test('it calls Element.closest with the specified selector', function(assert) {
|
||||||
const el = {
|
const el = {
|
||||||
closest: this.stub().returnsArg(0),
|
closest: sinon.stub().returnsArg(0),
|
||||||
};
|
};
|
||||||
const expected = 'selector';
|
const expected = 'selector';
|
||||||
const actual = domClosest(expected, el);
|
const actual = domClosest(expected, el);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import createListeners from 'consul-ui/utils/dom/create-listeners';
|
import createListeners from 'consul-ui/utils/dom/create-listeners';
|
||||||
import { module } from 'qunit';
|
import { module, test } from 'qunit';
|
||||||
import test from 'ember-sinon-qunit/test-support/test';
|
import sinon from 'sinon';
|
||||||
|
|
||||||
module('Unit | Utility | dom/create listeners', function() {
|
module('Unit | Utility | dom/create listeners', function() {
|
||||||
test('it has add and remove methods', function(assert) {
|
test('it has add and remove methods', function(assert) {
|
||||||
|
@ -33,7 +33,7 @@ module('Unit | Utility | dom/create listeners', function() {
|
||||||
assert.equal(handlers.length, 0);
|
assert.equal(handlers.length, 0);
|
||||||
});
|
});
|
||||||
test('remove calls the remove functions', function(assert) {
|
test('remove calls the remove functions', function(assert) {
|
||||||
const expected = this.stub();
|
const expected = sinon.stub();
|
||||||
const arr = [expected];
|
const arr = [expected];
|
||||||
const listeners = createListeners(arr);
|
const listeners = createListeners(arr);
|
||||||
listeners.remove();
|
listeners.remove();
|
||||||
|
@ -42,7 +42,7 @@ module('Unit | Utility | dom/create listeners', function() {
|
||||||
});
|
});
|
||||||
test('listeners are added on add', function(assert) {
|
test('listeners are added on add', function(assert) {
|
||||||
const listeners = createListeners();
|
const listeners = createListeners();
|
||||||
const stub = this.stub();
|
const stub = sinon.stub();
|
||||||
const target = {
|
const target = {
|
||||||
addEventListener: stub,
|
addEventListener: stub,
|
||||||
};
|
};
|
||||||
|
@ -54,8 +54,8 @@ module('Unit | Utility | dom/create listeners', function() {
|
||||||
});
|
});
|
||||||
test('listeners as objects are added on add and removed on remove', function(assert) {
|
test('listeners as objects are added on add and removed on remove', function(assert) {
|
||||||
const listeners = createListeners();
|
const listeners = createListeners();
|
||||||
const addStub = this.stub();
|
const addStub = sinon.stub();
|
||||||
const removeStub = this.stub();
|
const removeStub = sinon.stub();
|
||||||
const target = {
|
const target = {
|
||||||
addEventListener: addStub,
|
addEventListener: addStub,
|
||||||
removeEventListener: removeStub,
|
removeEventListener: removeStub,
|
||||||
|
@ -77,7 +77,7 @@ module('Unit | Utility | dom/create listeners', function() {
|
||||||
});
|
});
|
||||||
test('listeners are removed on remove', function(assert) {
|
test('listeners are removed on remove', function(assert) {
|
||||||
const listeners = createListeners();
|
const listeners = createListeners();
|
||||||
const stub = this.stub();
|
const stub = sinon.stub();
|
||||||
const target = {
|
const target = {
|
||||||
addEventListener: function() {},
|
addEventListener: function() {},
|
||||||
removeEventListener: stub,
|
removeEventListener: stub,
|
||||||
|
@ -91,7 +91,7 @@ module('Unit | Utility | dom/create listeners', function() {
|
||||||
});
|
});
|
||||||
test('listeners as functions are removed on remove', function(assert) {
|
test('listeners as functions are removed on remove', function(assert) {
|
||||||
const listeners = createListeners();
|
const listeners = createListeners();
|
||||||
const stub = this.stub();
|
const stub = sinon.stub();
|
||||||
const remove = listeners.add(stub);
|
const remove = listeners.add(stub);
|
||||||
remove();
|
remove();
|
||||||
assert.ok(stub.calledOnce);
|
assert.ok(stub.calledOnce);
|
||||||
|
@ -99,7 +99,7 @@ module('Unit | Utility | dom/create listeners', function() {
|
||||||
test('listeners as other listeners are removed on remove', function(assert) {
|
test('listeners as other listeners are removed on remove', function(assert) {
|
||||||
const listeners = createListeners();
|
const listeners = createListeners();
|
||||||
const listeners2 = createListeners();
|
const listeners2 = createListeners();
|
||||||
const stub = this.stub();
|
const stub = sinon.stub();
|
||||||
listeners2.add(stub);
|
listeners2.add(stub);
|
||||||
const remove = listeners.add(listeners2);
|
const remove = listeners.add(listeners2);
|
||||||
remove();
|
remove();
|
||||||
|
@ -108,7 +108,7 @@ module('Unit | Utility | dom/create listeners', function() {
|
||||||
test('listeners as functions of other listeners are removed on remove', function(assert) {
|
test('listeners as functions of other listeners are removed on remove', function(assert) {
|
||||||
const listeners = createListeners();
|
const listeners = createListeners();
|
||||||
const listeners2 = createListeners();
|
const listeners2 = createListeners();
|
||||||
const stub = this.stub();
|
const stub = sinon.stub();
|
||||||
const remove = listeners.add(listeners2.add(stub));
|
const remove = listeners.add(listeners2.add(stub));
|
||||||
remove();
|
remove();
|
||||||
assert.ok(stub.calledOnce);
|
assert.ok(stub.calledOnce);
|
||||||
|
@ -120,7 +120,7 @@ module('Unit | Utility | dom/create listeners', function() {
|
||||||
removeEventListener: function() {},
|
removeEventListener: function() {},
|
||||||
};
|
};
|
||||||
const name = 'test';
|
const name = 'test';
|
||||||
const expected = this.stub();
|
const expected = sinon.stub();
|
||||||
const remove = listeners.add(target, name, expected);
|
const remove = listeners.add(target, name, expected);
|
||||||
const actual = remove();
|
const actual = remove();
|
||||||
actual[0]();
|
actual[0]();
|
||||||
|
|
|
@ -2,8 +2,8 @@ import domEventSourceBlocking, {
|
||||||
validateCursor,
|
validateCursor,
|
||||||
createErrorBackoff,
|
createErrorBackoff,
|
||||||
} from 'consul-ui/utils/dom/event-source/blocking';
|
} from 'consul-ui/utils/dom/event-source/blocking';
|
||||||
import { module } from 'qunit';
|
import { module, test } from 'qunit';
|
||||||
import test from 'ember-sinon-qunit/test-support/test';
|
import sinon from 'sinon';
|
||||||
|
|
||||||
module('Unit | Utility | dom/event-source/blocking', function() {
|
module('Unit | Utility | dom/event-source/blocking', function() {
|
||||||
const createEventSource = function() {
|
const createEventSource = function() {
|
||||||
|
@ -74,8 +74,8 @@ module('Unit | Utility | dom/event-source/blocking', function() {
|
||||||
{ errors: [{ status: '504' }] },
|
{ errors: [{ status: '504' }] },
|
||||||
{ errors: [{ status: '524' }] },
|
{ errors: [{ status: '524' }] },
|
||||||
].forEach(item => {
|
].forEach(item => {
|
||||||
const timeout = this.stub().callsArg(0);
|
const timeout = sinon.stub().callsArg(0);
|
||||||
const resolve = this.stub().withArgs(item);
|
const resolve = sinon.stub().withArgs(item);
|
||||||
const Promise = createPromise(resolve);
|
const Promise = createPromise(resolve);
|
||||||
const backoff = createErrorBackoff(undefined, Promise, timeout);
|
const backoff = createErrorBackoff(undefined, Promise, timeout);
|
||||||
const promise = backoff(item);
|
const promise = backoff(item);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import domEventSourceCache from 'consul-ui/utils/dom/event-source/cache';
|
import domEventSourceCache from 'consul-ui/utils/dom/event-source/cache';
|
||||||
import { module } from 'qunit';
|
import { module, test } from 'qunit';
|
||||||
import test from 'ember-sinon-qunit/test-support/test';
|
import sinon from 'sinon';
|
||||||
|
|
||||||
module('Unit | Utility | dom/event-source/cache', function() {
|
module('Unit | Utility | dom/event-source/cache', function() {
|
||||||
const createEventSource = function() {
|
const createEventSource = function() {
|
||||||
|
@ -66,8 +66,8 @@ module('Unit | Utility | dom/event-source/cache', function() {
|
||||||
const Promise = createPromise(function() {
|
const Promise = createPromise(function() {
|
||||||
return stub;
|
return stub;
|
||||||
});
|
});
|
||||||
const source = this.stub().returns(Promise.resolve());
|
const source = sinon.stub().returns(Promise.resolve());
|
||||||
const cb = this.stub();
|
const cb = sinon.stub();
|
||||||
const getCache = domEventSourceCache(source, EventSource, Promise);
|
const getCache = domEventSourceCache(source, EventSource, Promise);
|
||||||
const obj = {};
|
const obj = {};
|
||||||
const cache = getCache(obj);
|
const cache = getCache(obj);
|
||||||
|
@ -92,14 +92,14 @@ module('Unit | Utility | dom/event-source/cache', function() {
|
||||||
test('cache creates the default EventSource and keeps it open when there is a cursor', function(assert) {
|
test('cache creates the default EventSource and keeps it open when there is a cursor', function(assert) {
|
||||||
const EventSource = createEventSource();
|
const EventSource = createEventSource();
|
||||||
const stub = {
|
const stub = {
|
||||||
close: this.stub(),
|
close: sinon.stub(),
|
||||||
configuration: { cursor: 1 },
|
configuration: { cursor: 1 },
|
||||||
};
|
};
|
||||||
const Promise = createPromise(function() {
|
const Promise = createPromise(function() {
|
||||||
return stub;
|
return stub;
|
||||||
});
|
});
|
||||||
const source = this.stub().returns(Promise.resolve());
|
const source = sinon.stub().returns(Promise.resolve());
|
||||||
const cb = this.stub();
|
const cb = sinon.stub();
|
||||||
const getCache = domEventSourceCache(source, EventSource, Promise);
|
const getCache = domEventSourceCache(source, EventSource, Promise);
|
||||||
const obj = {};
|
const obj = {};
|
||||||
const cache = getCache(obj);
|
const cache = getCache(obj);
|
||||||
|
@ -120,14 +120,14 @@ module('Unit | Utility | dom/event-source/cache', function() {
|
||||||
test("cache creates the default EventSource and closes it when there isn't a cursor", function(assert) {
|
test("cache creates the default EventSource and closes it when there isn't a cursor", function(assert) {
|
||||||
const EventSource = createEventSource();
|
const EventSource = createEventSource();
|
||||||
const stub = {
|
const stub = {
|
||||||
close: this.stub(),
|
close: sinon.stub(),
|
||||||
configuration: {},
|
configuration: {},
|
||||||
};
|
};
|
||||||
const Promise = createPromise(function() {
|
const Promise = createPromise(function() {
|
||||||
return stub;
|
return stub;
|
||||||
});
|
});
|
||||||
const source = this.stub().returns(Promise.resolve());
|
const source = sinon.stub().returns(Promise.resolve());
|
||||||
const cb = this.stub();
|
const cb = sinon.stub();
|
||||||
const getCache = domEventSourceCache(source, EventSource, Promise);
|
const getCache = domEventSourceCache(source, EventSource, Promise);
|
||||||
const obj = {};
|
const obj = {};
|
||||||
const cache = getCache(obj);
|
const cache = getCache(obj);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import domEventSourceCallable, { defaultRunner } from 'consul-ui/utils/dom/event-source/callable';
|
import domEventSourceCallable, { defaultRunner } from 'consul-ui/utils/dom/event-source/callable';
|
||||||
import { module } from 'qunit';
|
import { module, test } from 'qunit';
|
||||||
import test from 'ember-sinon-qunit/test-support/test';
|
import sinon from 'sinon';
|
||||||
|
|
||||||
module('Unit | Utility | dom/event-source/callable', function() {
|
module('Unit | Utility | dom/event-source/callable', function() {
|
||||||
const createEventTarget = function() {
|
const createEventTarget = function() {
|
||||||
|
@ -43,14 +43,14 @@ module('Unit | Utility | dom/event-source/callable', function() {
|
||||||
return count === 11;
|
return count === 11;
|
||||||
};
|
};
|
||||||
const configuration = {};
|
const configuration = {};
|
||||||
const then = this.stub().callsArg(0);
|
const then = sinon.stub().callsArg(0);
|
||||||
const target = {
|
const target = {
|
||||||
source: function(configuration) {
|
source: function(configuration) {
|
||||||
return {
|
return {
|
||||||
then: then,
|
then: then,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
dispatchEvent: this.stub(),
|
dispatchEvent: sinon.stub(),
|
||||||
};
|
};
|
||||||
defaultRunner(target, configuration, isClosed);
|
defaultRunner(target, configuration, isClosed);
|
||||||
assert.ok(then.callCount == 10);
|
assert.ok(then.callCount == 10);
|
||||||
|
@ -59,7 +59,7 @@ module('Unit | Utility | dom/event-source/callable', function() {
|
||||||
test('it calls the defaultRunner', function(assert) {
|
test('it calls the defaultRunner', function(assert) {
|
||||||
const Promise = createPromise();
|
const Promise = createPromise();
|
||||||
const EventTarget = createEventTarget();
|
const EventTarget = createEventTarget();
|
||||||
const run = this.stub();
|
const run = sinon.stub();
|
||||||
const EventSource = domEventSourceCallable(EventTarget, Promise, run);
|
const EventSource = domEventSourceCallable(EventTarget, Promise, run);
|
||||||
const source = new EventSource();
|
const source = new EventSource();
|
||||||
assert.ok(run.calledOnce);
|
assert.ok(run.calledOnce);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import domEventSourceOpenable from 'consul-ui/utils/dom/event-source/openable';
|
import domEventSourceOpenable from 'consul-ui/utils/dom/event-source/openable';
|
||||||
import { module } from 'qunit';
|
import { module, test } from 'qunit';
|
||||||
import test from 'ember-sinon-qunit/test-support/test';
|
import sinon from 'sinon';
|
||||||
|
|
||||||
module('Unit | Utility | dom/event-source/openable', function() {
|
module('Unit | Utility | dom/event-source/openable', function() {
|
||||||
const createEventSource = function() {
|
const createEventSource = function() {
|
||||||
|
@ -23,7 +23,7 @@ module('Unit | Utility | dom/event-source/openable', function() {
|
||||||
assert.ok(source instanceof EventSource);
|
assert.ok(source instanceof EventSource);
|
||||||
});
|
});
|
||||||
test('it reopens the event source when open is called', function(assert) {
|
test('it reopens the event source when open is called', function(assert) {
|
||||||
const callable = this.stub();
|
const callable = sinon.stub();
|
||||||
const EventSource = createEventSource();
|
const EventSource = createEventSource();
|
||||||
const OpenableEventSource = domEventSourceOpenable(EventSource);
|
const OpenableEventSource = domEventSourceOpenable(EventSource);
|
||||||
const source = new OpenableEventSource(callable);
|
const source = new OpenableEventSource(callable);
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import { module, skip } from 'qunit';
|
import { module, skip, test } from 'qunit';
|
||||||
import test from 'ember-sinon-qunit/test-support/test';
|
|
||||||
import createURL from 'consul-ui/utils/http/create-url';
|
import createURL from 'consul-ui/utils/http/create-url';
|
||||||
import createQueryParams from 'consul-ui/utils/http/create-query-params';
|
import createQueryParams from 'consul-ui/utils/http/create-query-params';
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import { module } from 'qunit';
|
import { module, test } from 'qunit';
|
||||||
import test from 'ember-sinon-qunit/test-support/test';
|
|
||||||
import isFolder from 'consul-ui/utils/isFolder';
|
import isFolder from 'consul-ui/utils/isFolder';
|
||||||
|
|
||||||
module('Unit | Utils | isFolder', function() {
|
module('Unit | Utils | isFolder', function() {
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import { module } from 'qunit';
|
import { module, test } from 'qunit';
|
||||||
import test from 'ember-sinon-qunit/test-support/test';
|
|
||||||
import keyToArray from 'consul-ui/utils/keyToArray';
|
import keyToArray from 'consul-ui/utils/keyToArray';
|
||||||
|
|
||||||
module('Unit | Utils | keyToArray', function() {
|
module('Unit | Utils | keyToArray', function() {
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import { module } from 'qunit';
|
import { module, test } from 'qunit';
|
||||||
import test from 'ember-sinon-qunit/test-support/test';
|
|
||||||
import leftTrim from 'consul-ui/utils/left-trim';
|
import leftTrim from 'consul-ui/utils/left-trim';
|
||||||
|
|
||||||
module('Unit | Utility | left trim', function() {
|
module('Unit | Utility | left trim', function() {
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import { module, skip } from 'qunit';
|
import { module, skip, test } from 'qunit';
|
||||||
import test from 'ember-sinon-qunit/test-support/test';
|
|
||||||
import promisedTimeout from 'consul-ui/utils/promisedTimeout';
|
import promisedTimeout from 'consul-ui/utils/promisedTimeout';
|
||||||
|
|
||||||
module('Unit | Utils | promisedTimeout', function() {
|
module('Unit | Utils | promisedTimeout', function() {
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import { module } from 'qunit';
|
import { module, test } from 'qunit';
|
||||||
import test from 'ember-sinon-qunit/test-support/test';
|
|
||||||
import rightTrim from 'consul-ui/utils/right-trim';
|
import rightTrim from 'consul-ui/utils/right-trim';
|
||||||
|
|
||||||
module('Unit | Utility | right trim', function() {
|
module('Unit | Utility | right trim', function() {
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
import { walk } from 'consul-ui/utils/routing/walk';
|
import { walk } from 'consul-ui/utils/routing/walk';
|
||||||
import { module } from 'qunit';
|
import { module, test } from 'qunit';
|
||||||
import test from 'ember-sinon-qunit/test-support/test';
|
import sinon from 'sinon';
|
||||||
|
|
||||||
module('Unit | Utility | routing/walk', function() {
|
module('Unit | Utility | routing/walk', function() {
|
||||||
test('it walks down deep routes', function(assert) {
|
test('it walks down deep routes', function(assert) {
|
||||||
const route = this.stub();
|
const route = sinon.stub();
|
||||||
const Router = {
|
const Router = {
|
||||||
route: function(name, options, cb) {
|
route: function(name, options, cb) {
|
||||||
route();
|
route();
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import { module } from 'qunit';
|
import { module, test } from 'qunit';
|
||||||
import test from 'ember-sinon-qunit/test-support/test';
|
|
||||||
import ucfirst from 'consul-ui/utils/ucfirst';
|
import ucfirst from 'consul-ui/utils/ucfirst';
|
||||||
|
|
||||||
module('Unit | Utils | ucfirst', function() {
|
module('Unit | Utils | ucfirst', function() {
|
||||||
|
|
237
ui/yarn.lock
237
ui/yarn.lock
|
@ -1948,17 +1948,29 @@
|
||||||
ember-compatibility-helpers "^1.2.5"
|
ember-compatibility-helpers "^1.2.5"
|
||||||
ember-modifier-manager-polyfill "^1.2.0"
|
ember-modifier-manager-polyfill "^1.2.0"
|
||||||
|
|
||||||
"@ember/test-helpers@^1.7.1":
|
"@ember/test-helpers@^2.1.4":
|
||||||
version "1.7.2"
|
version "2.8.1"
|
||||||
resolved "https://registry.yarnpkg.com/@ember/test-helpers/-/test-helpers-1.7.2.tgz#5b128dc5f6524c3850abf52668e6bd4fda401194"
|
resolved "https://registry.yarnpkg.com/@ember/test-helpers/-/test-helpers-2.8.1.tgz#20f2e30d48172c2ff713e1db7fbec5352f918d4e"
|
||||||
integrity sha512-FEJBpbFNIaWAsCSnataiNwYFvmcpoymL/B7fXLruuJ/46BnJjzLaRPtpUIZ91w4GNTK6knxbHWXW76aVb3Aezg==
|
integrity sha512-jbsYwWyAdhL/pdPu7Gb3SG1gvIXY70FWMtC/Us0Kmvk82Y+5YUQ1SOC0io75qmOGYQmH7eQrd/bquEVd+4XtdQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
|
"@ember/test-waiters" "^3.0.0"
|
||||||
|
"@embroider/macros" "^1.6.0"
|
||||||
|
"@embroider/util" "^1.6.0"
|
||||||
broccoli-debug "^0.6.5"
|
broccoli-debug "^0.6.5"
|
||||||
broccoli-funnel "^2.0.2"
|
broccoli-funnel "^3.0.8"
|
||||||
ember-assign-polyfill "^2.6.0"
|
ember-cli-babel "^7.26.6"
|
||||||
ember-cli-babel "^7.7.3"
|
ember-cli-htmlbars "^5.7.1"
|
||||||
ember-cli-htmlbars-inline-precompile "^2.1.0"
|
ember-destroyable-polyfill "^2.0.3"
|
||||||
ember-test-waiters "^1.1.1"
|
|
||||||
|
"@ember/test-waiters@^3.0.0":
|
||||||
|
version "3.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/@ember/test-waiters/-/test-waiters-3.0.2.tgz#5b950c580a1891ed1d4ee64f9c6bacf49a15ea6f"
|
||||||
|
integrity sha512-H8Q3Xy9rlqhDKnQpwt2pzAYDouww4TZIGSI1pZJhM7mQIGufQKuB0ijzn/yugA6Z+bNdjYp1HioP8Y4hn2zazQ==
|
||||||
|
dependencies:
|
||||||
|
calculate-cache-key-for-tree "^2.0.0"
|
||||||
|
ember-cli-babel "^7.26.6"
|
||||||
|
ember-cli-version-checker "^5.1.2"
|
||||||
|
semver "^7.3.5"
|
||||||
|
|
||||||
"@embroider/core@0.33.0", "@embroider/core@^0.33.0":
|
"@embroider/core@0.33.0", "@embroider/core@^0.33.0":
|
||||||
version "0.33.0"
|
version "0.33.0"
|
||||||
|
@ -2039,6 +2051,20 @@
|
||||||
resolve "^1.20.0"
|
resolve "^1.20.0"
|
||||||
semver "^7.3.2"
|
semver "^7.3.2"
|
||||||
|
|
||||||
|
"@embroider/macros@1.8.3", "@embroider/macros@^1.6.0":
|
||||||
|
version "1.8.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/@embroider/macros/-/macros-1.8.3.tgz#2f0961ab8871f6ad819630208031d705b357757e"
|
||||||
|
integrity sha512-gnIOfTL/pUkoD6oI7JyWOqXlVIUgZM+CnbH10/YNtZr2K0hij9eZQMdgjOZZVgN0rKOFw9dIREqc1ygrJHRYQA==
|
||||||
|
dependencies:
|
||||||
|
"@embroider/shared-internals" "1.8.3"
|
||||||
|
assert-never "^1.2.1"
|
||||||
|
babel-import-util "^1.1.0"
|
||||||
|
ember-cli-babel "^7.26.6"
|
||||||
|
find-up "^5.0.0"
|
||||||
|
lodash "^4.17.21"
|
||||||
|
resolve "^1.20.0"
|
||||||
|
semver "^7.3.2"
|
||||||
|
|
||||||
"@embroider/shared-internals@0.41.0":
|
"@embroider/shared-internals@0.41.0":
|
||||||
version "0.41.0"
|
version "0.41.0"
|
||||||
resolved "https://registry.yarnpkg.com/@embroider/shared-internals/-/shared-internals-0.41.0.tgz#2553f026d4f48ea1fd11235501feb63bf49fa306"
|
resolved "https://registry.yarnpkg.com/@embroider/shared-internals/-/shared-internals-0.41.0.tgz#2553f026d4f48ea1fd11235501feb63bf49fa306"
|
||||||
|
@ -2065,6 +2091,20 @@
|
||||||
semver "^7.3.5"
|
semver "^7.3.5"
|
||||||
typescript-memoize "^1.0.1"
|
typescript-memoize "^1.0.1"
|
||||||
|
|
||||||
|
"@embroider/shared-internals@1.8.3", "@embroider/shared-internals@^1.0.0":
|
||||||
|
version "1.8.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/@embroider/shared-internals/-/shared-internals-1.8.3.tgz#52d868dc80016e9fe983552c0e516f437bf9b9f9"
|
||||||
|
integrity sha512-N5Gho6Qk8z5u+mxLCcMYAoQMbN4MmH+z2jXwQHVs859bxuZTxwF6kKtsybDAASCtd2YGxEmzcc1Ja/wM28824w==
|
||||||
|
dependencies:
|
||||||
|
babel-import-util "^1.1.0"
|
||||||
|
ember-rfc176-data "^0.3.17"
|
||||||
|
fs-extra "^9.1.0"
|
||||||
|
js-string-escape "^1.0.1"
|
||||||
|
lodash "^4.17.21"
|
||||||
|
resolve-package-path "^4.0.1"
|
||||||
|
semver "^7.3.5"
|
||||||
|
typescript-memoize "^1.0.1"
|
||||||
|
|
||||||
"@embroider/util@^0.39.1 || ^0.40.0 || ^0.41.0":
|
"@embroider/util@^0.39.1 || ^0.40.0 || ^0.41.0":
|
||||||
version "0.41.0"
|
version "0.41.0"
|
||||||
resolved "https://registry.yarnpkg.com/@embroider/util/-/util-0.41.0.tgz#5324cb4742aa4ed8d613c4f88a466f73e4e6acc1"
|
resolved "https://registry.yarnpkg.com/@embroider/util/-/util-0.41.0.tgz#5324cb4742aa4ed8d613c4f88a466f73e4e6acc1"
|
||||||
|
@ -2083,6 +2123,15 @@
|
||||||
broccoli-funnel "^3.0.5"
|
broccoli-funnel "^3.0.5"
|
||||||
ember-cli-babel "^7.23.1"
|
ember-cli-babel "^7.23.1"
|
||||||
|
|
||||||
|
"@embroider/util@^1.6.0":
|
||||||
|
version "1.8.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/@embroider/util/-/util-1.8.3.tgz#7267a2b6fcbf3e56712711441159ab373f9bee7a"
|
||||||
|
integrity sha512-FvsPzsb9rNeveSnIGnsfLkWWBdSM5QIA9lDVtckUktRnRnBWZHm5jDxU/ST//pWMhZ8F0DucRlFWE149MTLtuQ==
|
||||||
|
dependencies:
|
||||||
|
"@embroider/macros" "1.8.3"
|
||||||
|
broccoli-funnel "^3.0.5"
|
||||||
|
ember-cli-babel "^7.23.1"
|
||||||
|
|
||||||
"@eslint/eslintrc@^0.4.0":
|
"@eslint/eslintrc@^0.4.0":
|
||||||
version "0.4.0"
|
version "0.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.4.0.tgz#99cc0a0584d72f1df38b900fb062ba995f395547"
|
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.4.0.tgz#99cc0a0584d72f1df38b900fb062ba995f395547"
|
||||||
|
@ -3387,6 +3436,11 @@ babel-import-util@^0.2.0:
|
||||||
resolved "https://registry.yarnpkg.com/babel-import-util/-/babel-import-util-0.2.0.tgz#b468bb679919601a3570f9e317536c54f2862e23"
|
resolved "https://registry.yarnpkg.com/babel-import-util/-/babel-import-util-0.2.0.tgz#b468bb679919601a3570f9e317536c54f2862e23"
|
||||||
integrity sha512-CtWYYHU/MgK88rxMrLfkD356dApswtR/kWZ/c6JifG1m10e7tBBrs/366dFzWMAoqYmG5/JSh+94tUSpIwh+ag==
|
integrity sha512-CtWYYHU/MgK88rxMrLfkD356dApswtR/kWZ/c6JifG1m10e7tBBrs/366dFzWMAoqYmG5/JSh+94tUSpIwh+ag==
|
||||||
|
|
||||||
|
babel-import-util@^1.1.0:
|
||||||
|
version "1.2.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/babel-import-util/-/babel-import-util-1.2.2.tgz#1027560e143a4a68b1758e71d4fadc661614e495"
|
||||||
|
integrity sha512-8HgkHWt5WawRFukO30TuaL9EiDUOdvyKtDwLma4uBNeUSDbOO0/hiPfavrOWxSS6J6TKXfukWHZ3wiqZhJ8ONQ==
|
||||||
|
|
||||||
babel-loader@^8.0.6, babel-loader@^8.1.0:
|
babel-loader@^8.0.6, babel-loader@^8.1.0:
|
||||||
version "8.2.2"
|
version "8.2.2"
|
||||||
resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-8.2.2.tgz#9363ce84c10c9a40e6c753748e1441b60c8a0b81"
|
resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-8.2.2.tgz#9363ce84c10c9a40e6c753748e1441b60c8a0b81"
|
||||||
|
@ -3471,11 +3525,6 @@ babel-plugin-filter-imports@^4.0.0:
|
||||||
"@babel/types" "^7.7.2"
|
"@babel/types" "^7.7.2"
|
||||||
lodash "^4.17.15"
|
lodash "^4.17.15"
|
||||||
|
|
||||||
babel-plugin-htmlbars-inline-precompile@^1.0.0:
|
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/babel-plugin-htmlbars-inline-precompile/-/babel-plugin-htmlbars-inline-precompile-1.0.0.tgz#a9d2f6eaad8a3f3d361602de593a8cbef8179c22"
|
|
||||||
integrity sha512-4jvKEHR1bAX03hBDZ94IXsYCj3bwk9vYsn6ux6JZNL2U5pvzCWjqyrGahfsGNrhERyxw8IqcirOi9Q6WCo3dkQ==
|
|
||||||
|
|
||||||
babel-plugin-htmlbars-inline-precompile@^3.2.0:
|
babel-plugin-htmlbars-inline-precompile@^3.2.0:
|
||||||
version "3.2.0"
|
version "3.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/babel-plugin-htmlbars-inline-precompile/-/babel-plugin-htmlbars-inline-precompile-3.2.0.tgz#c4882ea875d0f5683f0d91c1f72e29a4f14b5606"
|
resolved "https://registry.yarnpkg.com/babel-plugin-htmlbars-inline-precompile/-/babel-plugin-htmlbars-inline-precompile-3.2.0.tgz#c4882ea875d0f5683f0d91c1f72e29a4f14b5606"
|
||||||
|
@ -4427,7 +4476,7 @@ broccoli-funnel@^3.0.1, broccoli-funnel@^3.0.2, broccoli-funnel@^3.0.3:
|
||||||
path-posix "^1.0.0"
|
path-posix "^1.0.0"
|
||||||
walk-sync "^2.0.2"
|
walk-sync "^2.0.2"
|
||||||
|
|
||||||
broccoli-funnel@^3.0.5:
|
broccoli-funnel@^3.0.5, broccoli-funnel@^3.0.8:
|
||||||
version "3.0.8"
|
version "3.0.8"
|
||||||
resolved "https://registry.yarnpkg.com/broccoli-funnel/-/broccoli-funnel-3.0.8.tgz#f5b62e2763c3918026a15a3c833edc889971279b"
|
resolved "https://registry.yarnpkg.com/broccoli-funnel/-/broccoli-funnel-3.0.8.tgz#f5b62e2763c3918026a15a3c833edc889971279b"
|
||||||
integrity sha512-ng4eIhPYiXqMw6SyGoxPHR3YAwEd2lr9FgBI1CyTbspl4txZovOsmzFkMkGAlu88xyvYXJqHiM2crfLa65T1BQ==
|
integrity sha512-ng4eIhPYiXqMw6SyGoxPHR3YAwEd2lr9FgBI1CyTbspl4txZovOsmzFkMkGAlu88xyvYXJqHiM2crfLa65T1BQ==
|
||||||
|
@ -5444,10 +5493,10 @@ commander@2.8.x:
|
||||||
dependencies:
|
dependencies:
|
||||||
graceful-readlink ">= 1.0.0"
|
graceful-readlink ">= 1.0.0"
|
||||||
|
|
||||||
commander@7.1.0:
|
commander@7.2.0:
|
||||||
version "7.1.0"
|
version "7.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/commander/-/commander-7.1.0.tgz#f2eaecf131f10e36e07d894698226e36ae0eb5ff"
|
resolved "https://registry.yarnpkg.com/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7"
|
||||||
integrity sha512-pRxBna3MJe6HKnBGsDyMv8ETbptw3axEdYHoqNh7gu5oDcew8fs0xnivZGm06Ogk8zGAJ9VX+OPEr2GXEQK4dg==
|
integrity sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==
|
||||||
|
|
||||||
commander@^2.20.0, commander@^2.6.0:
|
commander@^2.20.0, commander@^2.6.0:
|
||||||
version "2.20.3"
|
version "2.20.3"
|
||||||
|
@ -5464,7 +5513,7 @@ commander@^6.2.0:
|
||||||
resolved "https://registry.yarnpkg.com/commander/-/commander-6.2.1.tgz#0792eb682dfbc325999bb2b84fddddba110ac73c"
|
resolved "https://registry.yarnpkg.com/commander/-/commander-6.2.1.tgz#0792eb682dfbc325999bb2b84fddddba110ac73c"
|
||||||
integrity sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==
|
integrity sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==
|
||||||
|
|
||||||
common-tags@^1.4.0, common-tags@^1.8.0:
|
common-tags@^1.8.0:
|
||||||
version "1.8.0"
|
version "1.8.0"
|
||||||
resolved "https://registry.yarnpkg.com/common-tags/-/common-tags-1.8.0.tgz#8e3153e542d4a39e9b10554434afaaf98956a937"
|
resolved "https://registry.yarnpkg.com/common-tags/-/common-tags-1.8.0.tgz#8e3153e542d4a39e9b10554434afaaf98956a937"
|
||||||
integrity sha512-6P6g0uetGpW/sdyUy/iQQCbFF0kWVMSIVSyYz7Zgjcgh8mgw8PQzDNZeyZ5DQ2gM7LBoZPHmnjz8rUthkBG5tw==
|
integrity sha512-6P6g0uetGpW/sdyUy/iQQCbFF0kWVMSIVSyYz7Zgjcgh8mgw8PQzDNZeyZ5DQ2gM7LBoZPHmnjz8rUthkBG5tw==
|
||||||
|
@ -6292,13 +6341,40 @@ ember-assign-helper@^0.3.0:
|
||||||
ember-cli-babel "^7.19.0"
|
ember-cli-babel "^7.19.0"
|
||||||
ember-cli-htmlbars "^4.3.1"
|
ember-cli-htmlbars "^4.3.1"
|
||||||
|
|
||||||
ember-assign-polyfill@^2.6.0:
|
ember-auto-import@^1.11.3:
|
||||||
version "2.7.2"
|
version "1.12.2"
|
||||||
resolved "https://registry.yarnpkg.com/ember-assign-polyfill/-/ember-assign-polyfill-2.7.2.tgz#58f6f60235126cb23df248c846008fa9a3245fc1"
|
resolved "https://registry.yarnpkg.com/ember-auto-import/-/ember-auto-import-1.12.2.tgz#cc7298ee5c0654b0249267de68fb27a2861c3579"
|
||||||
integrity sha512-hDSaKIZyFS0WRQsWzxUgO6pJPFfmcpfdM7CbGoMgYGriYbvkKn+k8zTXSKpTFVGehhSmsLE9YPqisQ9QpPisfA==
|
integrity sha512-gLqML2k77AuUiXxWNon1FSzuG1DV7PEPpCLCU5aJvf6fdL6rmFfElsZRh+8ELEB/qP9dT+LHjNEunVzd2dYc8A==
|
||||||
dependencies:
|
dependencies:
|
||||||
ember-cli-babel "^7.20.5"
|
"@babel/core" "^7.1.6"
|
||||||
ember-cli-version-checker "^2.0.0"
|
"@babel/preset-env" "^7.10.2"
|
||||||
|
"@babel/traverse" "^7.1.6"
|
||||||
|
"@babel/types" "^7.1.6"
|
||||||
|
"@embroider/shared-internals" "^1.0.0"
|
||||||
|
babel-core "^6.26.3"
|
||||||
|
babel-loader "^8.0.6"
|
||||||
|
babel-plugin-syntax-dynamic-import "^6.18.0"
|
||||||
|
babylon "^6.18.0"
|
||||||
|
broccoli-debug "^0.6.4"
|
||||||
|
broccoli-node-api "^1.7.0"
|
||||||
|
broccoli-plugin "^4.0.0"
|
||||||
|
broccoli-source "^3.0.0"
|
||||||
|
debug "^3.1.0"
|
||||||
|
ember-cli-babel "^7.0.0"
|
||||||
|
enhanced-resolve "^4.0.0"
|
||||||
|
fs-extra "^6.0.1"
|
||||||
|
fs-tree-diff "^2.0.0"
|
||||||
|
handlebars "^4.3.1"
|
||||||
|
js-string-escape "^1.0.1"
|
||||||
|
lodash "^4.17.19"
|
||||||
|
mkdirp "^0.5.1"
|
||||||
|
resolve-package-path "^3.1.0"
|
||||||
|
rimraf "^2.6.2"
|
||||||
|
semver "^7.3.4"
|
||||||
|
symlink-or-copy "^1.2.0"
|
||||||
|
typescript-memoize "^1.0.0-alpha.3"
|
||||||
|
walk-sync "^0.3.3"
|
||||||
|
webpack "^4.43.0"
|
||||||
|
|
||||||
ember-auto-import@^1.5.2, ember-auto-import@^1.5.3, ember-auto-import@^1.6.0:
|
ember-auto-import@^1.5.2, ember-auto-import@^1.5.3, ember-auto-import@^1.6.0:
|
||||||
version "1.10.1"
|
version "1.10.1"
|
||||||
|
@ -6402,7 +6478,7 @@ ember-cli-babel-plugin-helpers@^1.0.0, ember-cli-babel-plugin-helpers@^1.1.0, em
|
||||||
resolved "https://registry.yarnpkg.com/ember-cli-babel-plugin-helpers/-/ember-cli-babel-plugin-helpers-1.1.1.tgz#5016b80cdef37036c4282eef2d863e1d73576879"
|
resolved "https://registry.yarnpkg.com/ember-cli-babel-plugin-helpers/-/ember-cli-babel-plugin-helpers-1.1.1.tgz#5016b80cdef37036c4282eef2d863e1d73576879"
|
||||||
integrity sha512-sKvOiPNHr5F/60NLd7SFzMpYPte/nnGkq/tMIfXejfKHIhaiIkYFqX8Z9UFTKWLLn+V7NOaby6niNPZUdvKCRw==
|
integrity sha512-sKvOiPNHr5F/60NLd7SFzMpYPte/nnGkq/tMIfXejfKHIhaiIkYFqX8Z9UFTKWLLn+V7NOaby6niNPZUdvKCRw==
|
||||||
|
|
||||||
ember-cli-babel@7, ember-cli-babel@^7.0.0, ember-cli-babel@^7.1.3, ember-cli-babel@^7.10.0, ember-cli-babel@^7.11.0, ember-cli-babel@^7.12.0, ember-cli-babel@^7.13.0, ember-cli-babel@^7.17.2, ember-cli-babel@^7.18.0, ember-cli-babel@^7.19.0, ember-cli-babel@^7.20.0, ember-cli-babel@^7.20.5, ember-cli-babel@^7.21.0, ember-cli-babel@^7.22.1, ember-cli-babel@^7.23.0, ember-cli-babel@^7.23.1, ember-cli-babel@^7.7.3, ember-cli-babel@^7.8.0:
|
ember-cli-babel@7, ember-cli-babel@^7.0.0, ember-cli-babel@^7.1.3, ember-cli-babel@^7.10.0, ember-cli-babel@^7.13.0, ember-cli-babel@^7.17.2, ember-cli-babel@^7.18.0, ember-cli-babel@^7.19.0, ember-cli-babel@^7.20.0, ember-cli-babel@^7.20.5, ember-cli-babel@^7.21.0, ember-cli-babel@^7.22.1, ember-cli-babel@^7.23.0, ember-cli-babel@^7.23.1, ember-cli-babel@^7.7.3, ember-cli-babel@^7.8.0:
|
||||||
version "7.26.1"
|
version "7.26.1"
|
||||||
resolved "https://registry.yarnpkg.com/ember-cli-babel/-/ember-cli-babel-7.26.1.tgz#d3f06bd9aec8aac9197c5ff4d0b87ff1e4f0d62a"
|
resolved "https://registry.yarnpkg.com/ember-cli-babel/-/ember-cli-babel-7.26.1.tgz#d3f06bd9aec8aac9197c5ff4d0b87ff1e4f0d62a"
|
||||||
integrity sha512-WEWP3hJSe9CWL22gEWQ+Y3uKMGk1vLoIREUQfJNKrgUUh3l49bnfAamh3ywcAQz31IgzvkLPO8ZTXO4rxnuP4Q==
|
integrity sha512-WEWP3hJSe9CWL22gEWQ+Y3uKMGk1vLoIREUQfJNKrgUUh3l49bnfAamh3ywcAQz31IgzvkLPO8ZTXO4rxnuP4Q==
|
||||||
|
@ -6454,7 +6530,7 @@ ember-cli-babel@^6.0.0, ember-cli-babel@^6.0.0-beta.4, ember-cli-babel@^6.11.0,
|
||||||
ember-cli-version-checker "^2.1.2"
|
ember-cli-version-checker "^2.1.2"
|
||||||
semver "^5.5.0"
|
semver "^5.5.0"
|
||||||
|
|
||||||
ember-cli-babel@^7.26.3, ember-cli-babel@^7.26.5:
|
ember-cli-babel@^7.13.2, ember-cli-babel@^7.26.3, ember-cli-babel@^7.26.5:
|
||||||
version "7.26.11"
|
version "7.26.11"
|
||||||
resolved "https://registry.yarnpkg.com/ember-cli-babel/-/ember-cli-babel-7.26.11.tgz#50da0fe4dcd99aada499843940fec75076249a9f"
|
resolved "https://registry.yarnpkg.com/ember-cli-babel/-/ember-cli-babel-7.26.11.tgz#50da0fe4dcd99aada499843940fec75076249a9f"
|
||||||
integrity sha512-JJYeYjiz/JTn34q7F5DSOjkkZqy8qwFOOxXfE6pe9yEJqWGu4qErKxlz8I22JoVEQ/aBUO+OcKTpmctvykM9YA==
|
integrity sha512-JJYeYjiz/JTn34q7F5DSOjkkZqy8qwFOOxXfE6pe9yEJqWGu4qErKxlz8I22JoVEQ/aBUO+OcKTpmctvykM9YA==
|
||||||
|
@ -6573,17 +6649,6 @@ ember-cli-get-component-path-option@^1.0.0:
|
||||||
resolved "https://registry.yarnpkg.com/ember-cli-get-component-path-option/-/ember-cli-get-component-path-option-1.0.0.tgz#0d7b595559e2f9050abed804f1d8eff1b08bc771"
|
resolved "https://registry.yarnpkg.com/ember-cli-get-component-path-option/-/ember-cli-get-component-path-option-1.0.0.tgz#0d7b595559e2f9050abed804f1d8eff1b08bc771"
|
||||||
integrity sha1-DXtZVVni+QUKvtgE8djv8bCLx3E=
|
integrity sha1-DXtZVVni+QUKvtgE8djv8bCLx3E=
|
||||||
|
|
||||||
ember-cli-htmlbars-inline-precompile@^2.1.0:
|
|
||||||
version "2.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/ember-cli-htmlbars-inline-precompile/-/ember-cli-htmlbars-inline-precompile-2.1.0.tgz#61b91ff1879d44ae504cadb46fb1f2604995ae08"
|
|
||||||
integrity sha512-BylIHduwQkncPhnj0ZyorBuljXbTzLgRo6kuHf1W+IHFxThFl2xG+r87BVwsqx4Mn9MTgW9SE0XWjwBJcSWd6Q==
|
|
||||||
dependencies:
|
|
||||||
babel-plugin-htmlbars-inline-precompile "^1.0.0"
|
|
||||||
ember-cli-version-checker "^2.1.2"
|
|
||||||
hash-for-dep "^1.2.3"
|
|
||||||
heimdalljs-logger "^0.1.9"
|
|
||||||
silent-error "^1.1.0"
|
|
||||||
|
|
||||||
ember-cli-htmlbars@^3.0.1:
|
ember-cli-htmlbars@^3.0.1:
|
||||||
version "3.1.0"
|
version "3.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/ember-cli-htmlbars/-/ember-cli-htmlbars-3.1.0.tgz#87806c2a0bca2ab52d4fb8af8e2215c1ca718a99"
|
resolved "https://registry.yarnpkg.com/ember-cli-htmlbars/-/ember-cli-htmlbars-3.1.0.tgz#87806c2a0bca2ab52d4fb8af8e2215c1ca718a99"
|
||||||
|
@ -6636,7 +6701,7 @@ ember-cli-htmlbars@^5.0.0, ember-cli-htmlbars@^5.1.0, ember-cli-htmlbars@^5.1.2,
|
||||||
strip-bom "^4.0.0"
|
strip-bom "^4.0.0"
|
||||||
walk-sync "^2.2.0"
|
walk-sync "^2.2.0"
|
||||||
|
|
||||||
ember-cli-htmlbars@^5.3.2:
|
ember-cli-htmlbars@^5.3.2, ember-cli-htmlbars@^5.7.1:
|
||||||
version "5.7.2"
|
version "5.7.2"
|
||||||
resolved "https://registry.yarnpkg.com/ember-cli-htmlbars/-/ember-cli-htmlbars-5.7.2.tgz#e0cd2fb3c20d85fe4c3e228e6f0590ee1c645ba8"
|
resolved "https://registry.yarnpkg.com/ember-cli-htmlbars/-/ember-cli-htmlbars-5.7.2.tgz#e0cd2fb3c20d85fe4c3e228e6f0590ee1c645ba8"
|
||||||
integrity sha512-Uj6R+3TtBV5RZoJY14oZn/sNPnc+UgmC8nb5rI4P3fR/gYoyTFIZSXiIM7zl++IpMoIrocxOrgt+mhonKphgGg==
|
integrity sha512-Uj6R+3TtBV5RZoJY14oZn/sNPnc+UgmC8nb5rI4P3fR/gYoyTFIZSXiIM7zl++IpMoIrocxOrgt+mhonKphgGg==
|
||||||
|
@ -6799,12 +6864,12 @@ ember-cli-test-info@^1.0.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
ember-cli-string-utils "^1.0.0"
|
ember-cli-string-utils "^1.0.0"
|
||||||
|
|
||||||
ember-cli-test-loader@^2.2.0:
|
ember-cli-test-loader@^3.0.0:
|
||||||
version "2.2.0"
|
version "3.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/ember-cli-test-loader/-/ember-cli-test-loader-2.2.0.tgz#3fb8d5d1357e4460d3f0a092f5375e71b6f7c243"
|
resolved "https://registry.yarnpkg.com/ember-cli-test-loader/-/ember-cli-test-loader-3.0.0.tgz#1c036fc48de36155355fcda3266af63f977826f1"
|
||||||
integrity sha512-mlSXX9SciIRwGkFTX6XGyJYp4ry6oCFZRxh5jJ7VH8UXLTNx2ZACtDTwaWtNhYrWXgKyiDUvmD8enD56aePWRA==
|
integrity sha512-wfFRBrfO9gaKScYcdQxTfklx9yp1lWK6zv1rZRpkas9z2SHyJojF7NOQRWQgSB3ypm7vfpiF8VsFFVVr7VBzAQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
ember-cli-babel "^6.8.1"
|
ember-cli-babel "^7.13.2"
|
||||||
|
|
||||||
ember-cli-typescript@3.0.0:
|
ember-cli-typescript@3.0.0:
|
||||||
version "3.0.0"
|
version "3.0.0"
|
||||||
|
@ -6885,7 +6950,7 @@ ember-cli-uglify@^3.0.0:
|
||||||
broccoli-uglify-sourcemap "^3.1.0"
|
broccoli-uglify-sourcemap "^3.1.0"
|
||||||
lodash.defaultsdeep "^4.6.0"
|
lodash.defaultsdeep "^4.6.0"
|
||||||
|
|
||||||
ember-cli-version-checker@^2.0.0, ember-cli-version-checker@^2.1.0, ember-cli-version-checker@^2.1.2:
|
ember-cli-version-checker@^2.1.0, ember-cli-version-checker@^2.1.2:
|
||||||
version "2.2.0"
|
version "2.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/ember-cli-version-checker/-/ember-cli-version-checker-2.2.0.tgz#47771b731fe0962705e27c8199a9e3825709f3b3"
|
resolved "https://registry.yarnpkg.com/ember-cli-version-checker/-/ember-cli-version-checker-2.2.0.tgz#47771b731fe0962705e27c8199a9e3825709f3b3"
|
||||||
integrity sha512-G+KtYIVlSOWGcNaTFHk76xR4GdzDLzAS4uxZUKdASuFX0KJE43C6DaqL+y3VTpUFLI2FIkAS6HZ4I1YBi+S3hg==
|
integrity sha512-G+KtYIVlSOWGcNaTFHk76xR4GdzDLzAS4uxZUKdASuFX0KJE43C6DaqL+y3VTpUFLI2FIkAS6HZ4I1YBi+S3hg==
|
||||||
|
@ -7135,7 +7200,7 @@ ember-decorators@^6.1.1:
|
||||||
"@ember-decorators/object" "^6.1.1"
|
"@ember-decorators/object" "^6.1.1"
|
||||||
ember-cli-babel "^7.7.3"
|
ember-cli-babel "^7.7.3"
|
||||||
|
|
||||||
ember-destroyable-polyfill@^2.0.2:
|
ember-destroyable-polyfill@^2.0.2, ember-destroyable-polyfill@^2.0.3:
|
||||||
version "2.0.3"
|
version "2.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/ember-destroyable-polyfill/-/ember-destroyable-polyfill-2.0.3.tgz#1673ed66609a82268ef270a7d917ebd3647f11e1"
|
resolved "https://registry.yarnpkg.com/ember-destroyable-polyfill/-/ember-destroyable-polyfill-2.0.3.tgz#1673ed66609a82268ef270a7d917ebd3647f11e1"
|
||||||
integrity sha512-TovtNqCumzyAiW0/OisSkkVK93xnVF4NRU6+FN0ubpfwEOpRrmM2RqDwXI6YAChCgSHON1cz0DfQStpA1Gjuuw==
|
integrity sha512-TovtNqCumzyAiW0/OisSkkVK93xnVF4NRU6+FN0ubpfwEOpRrmM2RqDwXI6YAChCgSHON1cz0DfQStpA1Gjuuw==
|
||||||
|
@ -7403,18 +7468,20 @@ ember-power-select@^4.0.0, ember-power-select@^4.0.5:
|
||||||
ember-text-measurer "^0.6.0"
|
ember-text-measurer "^0.6.0"
|
||||||
ember-truth-helpers "^2.1.0 || ^3.0.0"
|
ember-truth-helpers "^2.1.0 || ^3.0.0"
|
||||||
|
|
||||||
ember-qunit@^4.6.0:
|
ember-qunit@^5.1.1:
|
||||||
version "4.6.0"
|
version "5.1.5"
|
||||||
resolved "https://registry.yarnpkg.com/ember-qunit/-/ember-qunit-4.6.0.tgz#ad79fd3ff00073a8779400cc5a4b44829517590f"
|
resolved "https://registry.yarnpkg.com/ember-qunit/-/ember-qunit-5.1.5.tgz#24a7850f052be24189ff597dfc31b923e684c444"
|
||||||
integrity sha512-i5VOGn0RP8XH+5qkYDOZshbqAvO6lHgF65D0gz8vRx4DszCIvJMJO+bbftBTfYMxp6rqG85etAA6pfNxE0DqsQ==
|
integrity sha512-2cFA4oMygh43RtVcMaBrr086Tpdhgbn3fVZ2awLkzF/rnSN0D0PSRpd7hAD7OdBPerC/ZYRwzVyGXLoW/Zes4A==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@ember/test-helpers" "^1.7.1"
|
broccoli-funnel "^3.0.8"
|
||||||
broccoli-funnel "^2.0.2"
|
|
||||||
broccoli-merge-trees "^3.0.2"
|
broccoli-merge-trees "^3.0.2"
|
||||||
common-tags "^1.4.0"
|
common-tags "^1.8.0"
|
||||||
ember-cli-babel "^7.12.0"
|
ember-auto-import "^1.11.3"
|
||||||
ember-cli-test-loader "^2.2.0"
|
ember-cli-babel "^7.26.6"
|
||||||
qunit "^2.9.3"
|
ember-cli-test-loader "^3.0.0"
|
||||||
|
resolve-package-path "^3.1.0"
|
||||||
|
silent-error "^1.1.1"
|
||||||
|
validate-peer-dependencies "^1.2.0"
|
||||||
|
|
||||||
ember-ref-modifier@^1.0.0:
|
ember-ref-modifier@^1.0.0:
|
||||||
version "1.0.1"
|
version "1.0.1"
|
||||||
|
@ -7629,14 +7696,6 @@ ember-test-selectors@^5.0.0:
|
||||||
ember-cli-babel "^7.22.1"
|
ember-cli-babel "^7.22.1"
|
||||||
ember-cli-version-checker "^5.1.1"
|
ember-cli-version-checker "^5.1.1"
|
||||||
|
|
||||||
ember-test-waiters@^1.1.1:
|
|
||||||
version "1.2.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/ember-test-waiters/-/ember-test-waiters-1.2.0.tgz#c12ead4313934c24cff41857020cacdbf8e6effe"
|
|
||||||
integrity sha512-aEw7YuutLuJT4NUuPTNiGFwgTYl23ThqmBxSkfFimQAn+keWjAftykk3dlFELuhsJhYW/S8YoVjN0bSAQRLNtw==
|
|
||||||
dependencies:
|
|
||||||
ember-cli-babel "^7.11.0"
|
|
||||||
semver "^6.3.0"
|
|
||||||
|
|
||||||
ember-text-measurer@^0.6.0:
|
ember-text-measurer@^0.6.0:
|
||||||
version "0.6.0"
|
version "0.6.0"
|
||||||
resolved "https://registry.yarnpkg.com/ember-text-measurer/-/ember-text-measurer-0.6.0.tgz#140eda044fd7d4d7f60f654dd30da79c06922b2e"
|
resolved "https://registry.yarnpkg.com/ember-text-measurer/-/ember-text-measurer-0.6.0.tgz#140eda044fd7d4d7f60f654dd30da79c06922b2e"
|
||||||
|
@ -10290,11 +10349,6 @@ jquery@^3.4.1, jquery@^3.5.0:
|
||||||
resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.6.0.tgz#c72a09f15c1bdce142f49dbf1170bdf8adac2470"
|
resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.6.0.tgz#c72a09f15c1bdce142f49dbf1170bdf8adac2470"
|
||||||
integrity sha512-JVzAR/AjBvVt2BmYhxRCSYysDsPcssdmTFnzyLEts9qNwmjmu4JTAMYubEfwVOSwpQ1I1sKKFcxhZCI2buerfw==
|
integrity sha512-JVzAR/AjBvVt2BmYhxRCSYysDsPcssdmTFnzyLEts9qNwmjmu4JTAMYubEfwVOSwpQ1I1sKKFcxhZCI2buerfw==
|
||||||
|
|
||||||
js-reporters@1.2.3:
|
|
||||||
version "1.2.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/js-reporters/-/js-reporters-1.2.3.tgz#8febcab370539df62e09b95da133da04b11f6168"
|
|
||||||
integrity sha512-2YzWkHbbRu6LueEs5ZP3P1LqbECvAeUJYrjw3H4y1ofW06hqCS0AbzBtLwbr+Hke51bt9CUepJ/Fj1hlCRIF6A==
|
|
||||||
|
|
||||||
js-string-escape@^1.0.1:
|
js-string-escape@^1.0.1:
|
||||||
version "1.0.1"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/js-string-escape/-/js-string-escape-1.0.1.tgz#e2625badbc0d67c7533e9edc1068c587ae4137ef"
|
resolved "https://registry.yarnpkg.com/js-string-escape/-/js-string-escape-1.0.1.tgz#e2625badbc0d67c7533e9edc1068c587ae4137ef"
|
||||||
|
@ -11734,10 +11788,10 @@ node-releases@^2.0.2:
|
||||||
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.2.tgz#7139fe71e2f4f11b47d4d2986aaf8c48699e0c01"
|
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.2.tgz#7139fe71e2f4f11b47d4d2986aaf8c48699e0c01"
|
||||||
integrity sha512-XxYDdcQ6eKqp/YjI+tb2C5WM2LgjnZrfYg4vgQt49EK268b6gYCHsBLrK2qvJo4FmCtqmKezb0WZFK4fkrZNsg==
|
integrity sha512-XxYDdcQ6eKqp/YjI+tb2C5WM2LgjnZrfYg4vgQt49EK268b6gYCHsBLrK2qvJo4FmCtqmKezb0WZFK4fkrZNsg==
|
||||||
|
|
||||||
node-watch@0.7.1:
|
node-watch@0.7.3:
|
||||||
version "0.7.1"
|
version "0.7.3"
|
||||||
resolved "https://registry.yarnpkg.com/node-watch/-/node-watch-0.7.1.tgz#0caaa6a6833b0d533487f953c52a6c787769ba7c"
|
resolved "https://registry.yarnpkg.com/node-watch/-/node-watch-0.7.3.tgz#6d4db88e39c8d09d3ea61d6568d80e5975abc7ab"
|
||||||
integrity sha512-UWblPYuZYrkCQCW5PxAwYSxaELNBLUckrTBBk8xr1/bUgyOkYYTsUcV4e3ytcazFEOyiRyiUrsG37pu6I0I05g==
|
integrity sha512-3l4E8uMPY1HdMMryPRUAl+oIHtXtyiTlIiESNSVSNxcPfzAFzeTbXFQkZfAwBbo0B1qMSG8nUABx+Gd+YrbKrQ==
|
||||||
|
|
||||||
nomnom@^1.5.x:
|
nomnom@^1.5.x:
|
||||||
version "1.8.1"
|
version "1.8.1"
|
||||||
|
@ -12705,7 +12759,7 @@ quick-temp@^0.1.2, quick-temp@^0.1.3, quick-temp@^0.1.5, quick-temp@^0.1.8:
|
||||||
rimraf "^2.5.4"
|
rimraf "^2.5.4"
|
||||||
underscore.string "~3.3.4"
|
underscore.string "~3.3.4"
|
||||||
|
|
||||||
qunit-dom@^1.0.0:
|
qunit-dom@^1.6.0:
|
||||||
version "1.6.0"
|
version "1.6.0"
|
||||||
resolved "https://registry.yarnpkg.com/qunit-dom/-/qunit-dom-1.6.0.tgz#a4bea6a46329d221e4a317d712cb40709107b977"
|
resolved "https://registry.yarnpkg.com/qunit-dom/-/qunit-dom-1.6.0.tgz#a4bea6a46329d221e4a317d712cb40709107b977"
|
||||||
integrity sha512-YwSqcLjQcRI0fUFpaSWwU10KIJPFW5Qh+d3cT5DOgx81dypRuUSiPkKFmBY/CDs/R1KdHRadthkcXg2rqAon8Q==
|
integrity sha512-YwSqcLjQcRI0fUFpaSWwU10KIJPFW5Qh+d3cT5DOgx81dypRuUSiPkKFmBY/CDs/R1KdHRadthkcXg2rqAon8Q==
|
||||||
|
@ -12715,15 +12769,14 @@ qunit-dom@^1.0.0:
|
||||||
ember-cli-babel "^7.23.0"
|
ember-cli-babel "^7.23.0"
|
||||||
ember-cli-version-checker "^5.1.1"
|
ember-cli-version-checker "^5.1.1"
|
||||||
|
|
||||||
qunit@^2.9.3:
|
qunit@^2.13.0:
|
||||||
version "2.14.1"
|
version "2.19.1"
|
||||||
resolved "https://registry.yarnpkg.com/qunit/-/qunit-2.14.1.tgz#02ba25c108f0845fda411a42b5cbfca0f0319943"
|
resolved "https://registry.yarnpkg.com/qunit/-/qunit-2.19.1.tgz#eb1afd188da9e47f07c13aa70461a1d9c4505490"
|
||||||
integrity sha512-jtFw8bf8+GjzY8UpnwbjqTOdK/rvrjcafUFTNpRc6/9N4q5dBwcwSMlcC76kAn5BRiSFj5Ssn2dfHtEYvtsXSw==
|
integrity sha512-gSGuw0vErE/rNjnlBW/JmE7NNubBlGrDPQvsug32ejYhcVFuZec9yoU0+C30+UgeCGwq6Ap89K65dMGo+kDGZQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
commander "7.1.0"
|
commander "7.2.0"
|
||||||
js-reporters "1.2.3"
|
node-watch "0.7.3"
|
||||||
node-watch "0.7.1"
|
tiny-glob "0.2.9"
|
||||||
tiny-glob "0.2.8"
|
|
||||||
|
|
||||||
raf-pool@~0.1.4:
|
raf-pool@~0.1.4:
|
||||||
version "0.1.4"
|
version "0.1.4"
|
||||||
|
@ -13686,7 +13739,7 @@ signal-exit@^3.0.0, signal-exit@^3.0.2:
|
||||||
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c"
|
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c"
|
||||||
integrity sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==
|
integrity sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==
|
||||||
|
|
||||||
silent-error@^1.0.0, silent-error@^1.0.1, silent-error@^1.1.0, silent-error@^1.1.1:
|
silent-error@^1.0.0, silent-error@^1.0.1, silent-error@^1.1.1:
|
||||||
version "1.1.1"
|
version "1.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/silent-error/-/silent-error-1.1.1.tgz#f72af5b0d73682a2ba1778b7e32cd8aa7c2d8662"
|
resolved "https://registry.yarnpkg.com/silent-error/-/silent-error-1.1.1.tgz#f72af5b0d73682a2ba1778b7e32cd8aa7c2d8662"
|
||||||
integrity sha512-n4iEKyNcg4v6/jpb3c0/iyH2G1nzUNl7Gpqtn/mHIJK9S/q/7MCfoO4rwVOoO59qPFIc0hVHvMbiOJ0NdtxKKw==
|
integrity sha512-n4iEKyNcg4v6/jpb3c0/iyH2G1nzUNl7Gpqtn/mHIJK9S/q/7MCfoO4rwVOoO59qPFIc0hVHvMbiOJ0NdtxKKw==
|
||||||
|
@ -14531,10 +14584,10 @@ tiny-emitter@^2.0.0:
|
||||||
resolved "https://registry.yarnpkg.com/tiny-emitter/-/tiny-emitter-2.1.0.tgz#1d1a56edfc51c43e863cbb5382a72330e3555423"
|
resolved "https://registry.yarnpkg.com/tiny-emitter/-/tiny-emitter-2.1.0.tgz#1d1a56edfc51c43e863cbb5382a72330e3555423"
|
||||||
integrity sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q==
|
integrity sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q==
|
||||||
|
|
||||||
tiny-glob@0.2.8:
|
tiny-glob@0.2.9:
|
||||||
version "0.2.8"
|
version "0.2.9"
|
||||||
resolved "https://registry.yarnpkg.com/tiny-glob/-/tiny-glob-0.2.8.tgz#b2792c396cc62db891ffa161fe8b33e76123e531"
|
resolved "https://registry.yarnpkg.com/tiny-glob/-/tiny-glob-0.2.9.tgz#2212d441ac17928033b110f8b3640683129d31e2"
|
||||||
integrity sha512-vkQP7qOslq63XRX9kMswlby99kyO5OvKptw7AMwBVMjXEI7Tb61eoI5DydyEMOseyGS5anDN1VPoVxEvH01q8w==
|
integrity sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg==
|
||||||
dependencies:
|
dependencies:
|
||||||
globalyzer "0.1.0"
|
globalyzer "0.1.0"
|
||||||
globrex "^0.1.2"
|
globrex "^0.1.2"
|
||||||
|
@ -15235,6 +15288,14 @@ validate-npm-package-name@^3.0.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
builtins "^1.0.3"
|
builtins "^1.0.3"
|
||||||
|
|
||||||
|
validate-peer-dependencies@^1.2.0:
|
||||||
|
version "1.2.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/validate-peer-dependencies/-/validate-peer-dependencies-1.2.0.tgz#22aab93c514f4fda457d36c80685e8b1160d2036"
|
||||||
|
integrity sha512-nd2HUpKc6RWblPZQ2GDuI65sxJ2n/UqZwSBVtj64xlWjMx0m7ZB2m9b2JS3v1f+n9VWH/dd1CMhkHfP6pIdckA==
|
||||||
|
dependencies:
|
||||||
|
resolve-package-path "^3.1.0"
|
||||||
|
semver "^7.3.2"
|
||||||
|
|
||||||
validated-changeset@0.10.0, validated-changeset@~0.10.0:
|
validated-changeset@0.10.0, validated-changeset@~0.10.0:
|
||||||
version "0.10.0"
|
version "0.10.0"
|
||||||
resolved "https://registry.yarnpkg.com/validated-changeset/-/validated-changeset-0.10.0.tgz#2e8188c089ab282c1b51fba3c289073f6bd14c8b"
|
resolved "https://registry.yarnpkg.com/validated-changeset/-/validated-changeset-0.10.0.tgz#2e8188c089ab282c1b51fba3c289073f6bd14c8b"
|
||||||
|
|
Loading…
Reference in New Issue