Skip to content

Commit bcc8b3f

Browse files
committed
add router test
1 parent 37c132f commit bcc8b3f

File tree

1 file changed

+10
-0
lines changed
  • core/src/components/router/test/basic

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { newE2EPage } from '@stencil/core/testing';
2+
3+
test('router: basic', async () => {
4+
const page = await newE2EPage({
5+
url: '/src/components/router/test/basic?ionic:_testing=true'
6+
});
7+
8+
const compare = await page.compareScreenshot();
9+
expect(compare).toMatchScreenshot();
10+
});

0 commit comments

Comments
 (0)