Skip to content

Commit 8fec8bc

Browse files
committed
test: more common functions
1 parent 50e48ac commit 8fec8bc

File tree

5 files changed

+33
-5
lines changed

5 files changed

+33
-5
lines changed

test/bg/action.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
import { describe, it } from 'vitest';
22

3-
describe.concurrent('', () => {});
3+
describe.concurrent('', () => {
4+
it('', ({ expect }) => {
5+
6+
});
7+
});

test/bg/bg.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
import { describe, it } from 'vitest';
22

3-
describe.concurrent('', () => {});
3+
describe.concurrent('', () => {
4+
it('', ({ expect }) => {
5+
6+
});
7+
});

test/bg/utils/storage.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
import { describe, it } from 'vitest';
22

3-
describe.concurrent('', () => {});
3+
describe.concurrent('', () => {
4+
it('', ({ expect }) => {
5+
6+
});
7+
});

test/map/map.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
import { describe, it } from 'vitest';
22

3-
describe.concurrent('', () => {});
3+
describe.concurrent('', () => {
4+
it('', ({ expect }) => {
5+
6+
});
7+
});

test/map/utils/read.test.ts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
11
import { describe, it } from 'vitest';
2+
import { readPB, readQ } from '../../../src/map/utils/read';
23

3-
describe.concurrent('', () => {});
4+
describe.concurrent('read pb', () => {
5+
it('', async ({ expect }) => {
6+
const req = readPB('');
7+
});
8+
});
9+
10+
11+
describe.concurrent('read query', () => {
12+
it('', async ({ expect }) => {
13+
const req = readQ(''); // TODO: Mocking requests
14+
});
15+
});

0 commit comments

Comments
 (0)