update deps and fix

This commit is contained in:
まっちゃとーにゅ 2024-04-29 06:28:05 +09:00
parent fd696a9621
commit 96abc31bfc
No known key found for this signature in database
GPG key ID: 6AFBBF529601C1DB
12 changed files with 649 additions and 466 deletions

View file

@ -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';

View file

@ -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,

View file

@ -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,