Lines Matching refs:t
13 export async function test(t, { setPortalChild, cleanupPortal }) { argument
14 t.describe('Image', () => {
15 t.afterEach(async () => {
19 t.describe('onLoadStart', () => {
20 t.it('emits an event when the image starts to load (will load successfully)', async () => {
24 t.it('emits an event when the image starts to load (will error)', async () => {
33 t.describe('onLoad', () => {
34 t.it('emits an event when the image loads successfully', async () => {
38 t.it('does not emit an event if the image errors', async () => {
54 t.describe('onError', () => {
55 t.it('emits an event when the image fails to load successfully', async () => {
59 t.it('does not emit an event if the image loads successfully', async () => {
75 t.describe('onLoadEnd', () => {
76 t.it('emits an event when the image loads successfully', async () => {
80 t.it('emits an event when the image errors', async () => {