Skip to content

Commit

Permalink
Deleting visual tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SriHV committed Dec 16, 2024
1 parent fb80135 commit 76a118a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 11 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

4 changes: 2 additions & 2 deletions src/components/header/_macro.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ describe('FOR: Macro: Header', () => {
expect($('.ons-header--variant-b').length).toBe(1);
});
});
describe('WHEN: variants is set to nav-only', () => {
describe('WHEN: variants is set to basic', () => {
test('THEN: does not render ons-header__main class ', () => {
const $ = cheerio.load(
renderComponent('header', {
variants: 'nav-only',
variants: 'basic',
}),
);
expect($('.ons-header').hasClass('ons-header__main')).toBe(false);
Expand Down

0 comments on commit 76a118a

Please sign in to comment.