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:
Cam Wiegert
2018-10-29 12:40:06 -05:00
committed by GitHub
parent ee902e6e98
commit 018fb9876f
129 changed files with 129 additions and 129 deletions

View File

@ -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'

View File

@ -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'

View File

@ -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'