mirror of
https://github.com/wassname/talk.git
synced 2026-08-02 13:10:23 +08:00
commentTag mutation tests await SettingsService
This commit is contained in:
@@ -10,7 +10,7 @@ const CommentsService = require('../../../services/comments');
|
||||
describe('graph.mutations.addCommentTag', () => {
|
||||
let comment;
|
||||
beforeEach(async () => {
|
||||
SettingsService.init();
|
||||
await SettingsService.init();
|
||||
comment = await CommentsService.publicCreate({body: `hello there! ${ String(Math.random()).slice(2)}`});
|
||||
});
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ const CommentsService = require('../../../services/comments');
|
||||
describe('graph.mutations.removeCommentTag', () => {
|
||||
let comment;
|
||||
beforeEach(async () => {
|
||||
SettingsService.init();
|
||||
await SettingsService.init();
|
||||
comment = await CommentsService.publicCreate({body: `hello there! ${ String(Math.random()).slice(2)}`});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user