mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
test(menu): fix test
This commit is contained in:
@@ -42,10 +42,11 @@
|
||||
"chromedriver": "^2.38.3",
|
||||
"clean-css-cli": "^4.1.11",
|
||||
"fs-extra": "^7.0.0",
|
||||
"jest": "23.5.0",
|
||||
"jest": "23.6.0",
|
||||
"jest-cli": "23.6.0",
|
||||
"np": "^3.0.4",
|
||||
"pixelmatch": "4.0.2",
|
||||
"puppeteer": "1.7.0",
|
||||
"puppeteer": "1.8.0",
|
||||
"rollup-plugin-node-resolve": "^3.4.0",
|
||||
"stylelint": "~9.6.0",
|
||||
"stylelint-order": "~1.0.0",
|
||||
|
||||
@@ -7,7 +7,7 @@ describe('menu', () => {
|
||||
const page = await newE2EPage({
|
||||
html: `
|
||||
<ion-app>
|
||||
<ion-menu>
|
||||
<ion-menu type="overlay">
|
||||
<ion-content>Content</ion-content>
|
||||
</ion-menu>
|
||||
<div main></div>
|
||||
@@ -19,6 +19,7 @@ describe('menu', () => {
|
||||
|
||||
expect(menu).toHaveClasses([
|
||||
'menu-type-overlay',
|
||||
'menu-enabled',
|
||||
'menu-side-start',
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user