mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 04:53:58 +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:
@ -1,6 +1,6 @@
|
||||
import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('button: anchor', async () => {
|
||||
test('button: anchor', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/button/test/anchor?ionic:_testing=true'
|
||||
});
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('button: basic', async () => {
|
||||
test('button: basic', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/button/test/basic?ionic:_testing=true'
|
||||
});
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('button: clear', async () => {
|
||||
test('button: clear', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/button/test/clear?ionic:_testing=true'
|
||||
});
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('button: expand', async () => {
|
||||
test('button: expand', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/button/test/expand?ionic:_testing=true'
|
||||
});
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('button: icon', async () => {
|
||||
test('button: icon', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/button/test/icon?ionic:_testing=true'
|
||||
});
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('button: outline', async () => {
|
||||
test('button: outline', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/button/test/outline?ionic:_testing=true'
|
||||
});
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('button: round', async () => {
|
||||
test('button: round', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/button/test/round?ionic:_testing=true'
|
||||
});
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('button: size', async () => {
|
||||
test('button: size', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/button/test/size?ionic:_testing=true'
|
||||
});
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('button: standalone', async () => {
|
||||
test('button: standalone', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/button/test/standalone?ionic:_testing=true'
|
||||
});
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('button: strong', async () => {
|
||||
test('button: strong', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/button/test/strong?ionic:_testing=true'
|
||||
});
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('button: toolbar', async () => {
|
||||
test('button: toolbar', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/button/test/toolbar?ionic:_testing=true'
|
||||
});
|
||||
|
Reference in New Issue
Block a user