Skip to content

Commit

Permalink
Repository type
Browse files Browse the repository at this point in the history
  • Loading branch information
KisaragiEffective committed Jul 9, 2024
1 parent 7f1fb71 commit fe95c05
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/backend/test/e2e/note.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
* SPDX-License-Identifier: AGPL-3.0-only
*/

import type { Repository } from "typeorm";

process.env.NODE_ENV = 'test';

import * as assert from 'assert';
Expand All @@ -12,7 +14,7 @@ import { api, castAsError, initTestDb, post, role, signup, uploadFile, uploadUrl
import type * as misskey from 'misskey-js';

describe('Note', () => {
let Notes: any;
let Notes: Repository<MiNote>;

let root: misskey.entities.SignupResponse;
let alice: misskey.entities.SignupResponse;
Expand Down Expand Up @@ -486,7 +488,7 @@ describe('Note', () => {
priority: 0,
value: true,
},
} as any,
},
}, root);

assert.strictEqual(res.status, 200);
Expand Down

0 comments on commit fe95c05

Please sign in to comment.