mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-01 12:45:38 +02:00
refactor: use test
This commit is contained in:
@@ -35,7 +35,7 @@ describe('MetaService', () => {
|
||||
await app.close();
|
||||
});
|
||||
|
||||
it('fetch (cache)', async () => {
|
||||
test('fetch (cache)', async () => {
|
||||
const db = app.get<DataSource>(DI.db);
|
||||
const spy = jest.spyOn(db, 'transaction');
|
||||
|
||||
@@ -45,7 +45,7 @@ describe('MetaService', () => {
|
||||
expect(spy).toHaveBeenCalledTimes(0);
|
||||
});
|
||||
|
||||
it('fetch (force)', async () => {
|
||||
test('fetch (force)', async () => {
|
||||
const db = app.get<DataSource>(DI.db);
|
||||
const spy = jest.spyOn(db, 'transaction');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user