This commit is contained in:
2024-09-07 03:43:42 +08:00
commit 443a41110a
6 changed files with 132 additions and 0 deletions

9
test/query.test.ts Normal file
View File

@@ -0,0 +1,9 @@
import { Query } from './../src/index';
const query = new Query({ url: '/api/router' });
// test('query', async () => {
// query.get({ id: 1 }).then((res) => {
// expect(res).toEqual({ id: 1 });
// });
// }