Skip to content

Commit

Permalink
fixed some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelchadwick committed Sep 18, 2024
1 parent 45bf66d commit f3160db
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module('Integration | Component | gh-commits', function (hooks) {

assert
.dom()
.hasText('GithubCommits No commits found. Check the development console for errors.');
.hasText('GithubCommits (FE) No commits found. Check the development console for errors.');

await render(hbs`<GhCommits @title='Last 5 Commits' />`);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ module('Integration | Component | gh-user', function (hooks) {

assert
.dom()
.hasText('GithubUser michaelchadwick Public Repos: Public Gists: Followers: Following:');
.hasText('GithubUser (FE) michaelchadwick Public Repos: Public Gists: Followers: Following:');
});
});
6 changes: 3 additions & 3 deletions packages/frontend/tests/integration/components/mover-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ module('Integration | Component | mover', function (hooks) {
test('it renders', async function (assert) {
await render(hbs`<Mover />`);

assert.dom().hasText('Mover Click toggle to start moving!');
assert.dom().hasText('Mover (CMN) Click toggle to start moving!');

await click('#mover button.header');

assert.dom('#mover').hasText('Mover Click toggle to stop moving!');
assert.dom('#mover').hasText('Mover (CMN) Click toggle to stop moving!');

await render(hbs`
<Mover>
{{t 'general.helloWorld'}}
</Mover>
`);

assert.dom().hasText('Mover Click toggle to start moving! Hello World!');
assert.dom().hasText('Mover (CMN) Click toggle to start moving! Hello World!');
});
});

0 comments on commit f3160db

Please sign in to comment.