Skip to content

Commit

Permalink
chore: Updated class name
Browse files Browse the repository at this point in the history
  • Loading branch information
ijlee2 committed Jun 12, 2024
1 parent a0b656b commit ebe339d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs-app/tests/helpers/reset-viewport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
Do not allow ember-qunit to resize the viewport! Resizing the viewport causes
issues with tests and Percy snapshots for this addon.
https://github.com/emberjs/ember-qunit/blob/master/vendor/ember-qunit/test-container-styles.css
https://github.com/emberjs/ember-qunit/blob/v8.1.0/addon/src/test-container-styles.css#L33
*/
export function resetViewport(hooks: NestedHooks): void {
hooks.beforeEach(function () {
const testingContainer = document.getElementById(
'ember-testing-container',
)!;

testingContainer.classList.add('full-screen');
testingContainer.classList.add('ember-testing-container-full-screen');
});
}

0 comments on commit ebe339d

Please sign in to comment.