fix e2e
This commit is contained in:
parent
57e0f1b4ef
commit
8449354887
|
@ -24,6 +24,7 @@ describe('Endpoints', () => {
|
|||
bob = await signup({ username: 'bob' });
|
||||
carol = await signup({ username: 'carol' });
|
||||
dave = await signup({ username: 'dave' });
|
||||
await api('admin/update-meta', { federation: 'all' }, alice as misskey.entities.SignupResponse);
|
||||
}, 1000 * 60 * 2);
|
||||
|
||||
describe('signup', () => {
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
process.env.NODE_ENV = 'test';
|
||||
|
||||
import * as assert from 'assert';
|
||||
import { channel, clip, galleryPost, page, play, post, signup, simpleGet, uploadFile } from '../utils.js';
|
||||
import { api, channel, clip, galleryPost, page, play, post, signup, simpleGet, uploadFile } from '../utils.js';
|
||||
import type { SimpleGetResponse } from '../utils.js';
|
||||
import type * as misskey from 'misskey-js';
|
||||
|
||||
|
@ -78,6 +78,7 @@ describe('Webリソース', () => {
|
|||
|
||||
beforeAll(async () => {
|
||||
alice = await signup({ username: 'alice' });
|
||||
await api('admin/update-meta', { federation: 'all' }, alice as misskey.entities.SignupResponse);
|
||||
aliceUploadedFile = (await uploadFile(alice)).body;
|
||||
alicesPost = await post(alice, {
|
||||
text: 'test',
|
||||
|
|
|
@ -16,6 +16,7 @@ describe('FF visibility', () => {
|
|||
beforeAll(async () => {
|
||||
alice = await signup({ username: 'alice' });
|
||||
bob = await signup({ username: 'bob' });
|
||||
await api('admin/update-meta', { federation: 'all' }, alice as misskey.entities.SignupResponse);
|
||||
}, 1000 * 60 * 2);
|
||||
|
||||
test('followingVisibility, followersVisibility がともに public なユーザーのフォロー/フォロワーを誰でも見れる', async () => {
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
process.env.NODE_ENV = 'test';
|
||||
|
||||
import * as assert from 'assert';
|
||||
import { host, origin, relativeFetch, signup } from '../utils.js';
|
||||
import { api, host, origin, relativeFetch, signup } from '../utils.js';
|
||||
import type * as misskey from 'misskey-js';
|
||||
|
||||
describe('.well-known', () => {
|
||||
|
@ -14,6 +14,7 @@ describe('.well-known', () => {
|
|||
|
||||
beforeAll(async () => {
|
||||
alice = await signup({ username: 'alice' });
|
||||
await api('admin/update-meta', { federation: 'all' }, alice as misskey.entities.SignupResponse);
|
||||
}, 1000 * 60 * 2);
|
||||
|
||||
test('nodeinfo', async () => {
|
||||
|
|
Loading…
Reference in New Issue