Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tests/acceptance/switch-project-test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable qunit/require-expect */
import { module, test } from 'qunit';
import { setupApplicationTest } from 'ember-qunit';
import {
Expand Down Expand Up @@ -31,6 +30,7 @@ module('Acceptance | Switch Project', function (hooks) {
setupApplicationTest(hooks);

test('Can switch projects back and forth', async function (assert) {
assert.expect(9);
await visit('/');

await click('.spec-ember-data');
Expand All @@ -47,6 +47,7 @@ module('Acceptance | Switch Project', function (hooks) {
});

test('Can open class after switching projects back and forth', async function (assert) {
assert.expect(10);
await visit('/');
await ensureVersionsExist(assert);
assert.dom(find('.spec-ember')).hasClass('active');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable qunit/require-expect */
import EmberObject from '@ember/object';
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
Expand Down Expand Up @@ -61,6 +60,7 @@ module('Integration | Component | class field description', function (hooks) {
});

test('it calls the provided action on link-click with the field name as an arg', async function (assert) {
assert.expect(3);
this.set('updateAnchor', (name) => {
assert.equal(
name,
Expand Down