MCPcopy Create free account
hub / github.com/ember-learn/ember-api-docs / ensureVersionsExist

Function ensureVersionsExist

tests/acceptance/switch-project-test.js:21–28  ·  view source on GitHub ↗
(assert)

Source from the content-addressed store, hash-verified

19}
20
21async function ensureVersionsExist(assert) {
22 await waitForSettled();
23 await selectSearch('.select-container', '2');
24 await settled();
25
26 assert.dom('.ember-power-select-options').exists({ count: 1 });
27 assert.ok(findAll('.ember-power-select-options')[0].children.length > 1);
28}
29
30module('Acceptance | Switch Project', function (hooks) {
31 setupApplicationTest(hooks);

Callers 1

Calls 1

waitForSettledFunction · 0.70

Tested by

no test coverage detected