Files
Tony 08a38f0a5e refactor: typing house-keeping (#23074)
* refactor: typing house-keeping

* fix: fix parse date not accepting strict mode

* refactor: use npm package

* fix: address review
2026-08-22 23:58:30 +08:00

14 lines
376 B
TypeScript

import { describe, expect, it } from 'vitest';
import api from '@/api';
describe('api/radar/rules/all', () => {
it('returns radar rules payload', async () => {
const response = await api.request('/radar/rules');
expect(response.status).toBe(200);
const data = await response.json();
expect(data).toEqual(expect.any(Object));
});
});