mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
test(all): use test() instead of it() where appropriate (#16129)
This replaces uses of Jest's it() function in end-to-end tests with the alias test() where it makes sense semantically.
This commit is contained in:
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
const navChanged = () => new Promise(resolve => window.addEventListener('ionNavDidChange', resolve));
|
||||
|
||||
it('nav: basic', async () => {
|
||||
test('nav: basic', async () => {
|
||||
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/nav/test/basic?ionic:_testing=true'
|
||||
|
@ -3,7 +3,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
const navChanged = () => new Promise(resolve => window.addEventListener('ionNavDidChange', resolve));
|
||||
|
||||
// TODO: get this to pass
|
||||
it.skip('nav: nested', async () => {
|
||||
test.skip('nav: nested', async () => {
|
||||
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/nav/test/nested?ionic:_testing=true'
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
const navChanged = () => new Promise(resolve => window.addEventListener('ionRouteDidChange', resolve));
|
||||
|
||||
it('nav: routing', async () => {
|
||||
test('nav: routing', async () => {
|
||||
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/nav/test/routing?ionic:_testing=true'
|
||||
|
Reference in New Issue
Block a user