update deps and fix
This commit is contained in:
parent
fd696a9621
commit
96abc31bfc
12 changed files with 649 additions and 466 deletions
|
@ -14,9 +14,7 @@ import { afterAll, beforeAll, describe, test } from '@jest/globals';
|
|||
import { GlobalModule } from '@/GlobalModule.js';
|
||||
import { LoggerService } from '@/core/LoggerService.js';
|
||||
import { FileInfoService } from '@/core/FileInfoService.js';
|
||||
//import { DI } from '@/di-symbols.js';
|
||||
import { AiService } from '@/core/AiService.js';
|
||||
import { LoggerService } from '@/core/LoggerService.js';
|
||||
import type { TestingModule } from '@nestjs/testing';
|
||||
import type { MockFunctionMetadata } from 'jest-mock';
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@ describe('NoteCreateService', () => {
|
|||
describe('is-renote', () => {
|
||||
const base: MiNote = {
|
||||
id: 'some-note-id',
|
||||
createdAt: new Date(2016, 11, 28, 22, 49, 51),
|
||||
replyId: null,
|
||||
reply: null,
|
||||
renoteId: null,
|
||||
|
@ -70,6 +71,7 @@ describe('NoteCreateService', () => {
|
|||
|
||||
const file: MiDriveFile = {
|
||||
id: 'some-file-id',
|
||||
createdAt: new Date(2016, 11, 28, 22, 49, 51),
|
||||
userId: null,
|
||||
user: null,
|
||||
userHost: null,
|
||||
|
|
|
@ -8,6 +8,7 @@ import { MiNote } from '@/models/Note.js';
|
|||
|
||||
const base: MiNote = {
|
||||
id: 'some-note-id',
|
||||
createdAt: new Date(2016, 11, 28, 22, 49, 51),
|
||||
replyId: null,
|
||||
reply: null,
|
||||
renoteId: null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue