xref: /expo/apps/test-suite/tests/Basic.js (revision 22d1e005)
1'use strict';
2
3export const name = 'Basic';
4
5export function test(t) {
6  t.describe('Basic', () => {
7    t.it('waits 0.5 seconds and passes', async () => {
8      await new Promise((resolve) => setTimeout(resolve, 500));
9      t.expect(true).toBe(true);
10    });
11    t.it('2 + 2 is 4?', () => {
12      t.expect(2 + 2).toBe(4);
13    });
14  });
15}
16