mirror of
https://github.com/wassname/talk.git
synced 2026-08-12 12:30:39 +08:00
simplified test layout
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
const expect = require('chai').expect;
|
||||
const {graphql} = require('graphql');
|
||||
|
||||
const schema = require('../../../../graph/schema');
|
||||
@@ -11,6 +10,8 @@ const ActionModel = require('../../../../models/action');
|
||||
const SettingsService = require('../../../../services/settings');
|
||||
const CommentsService = require('../../../../services/comments');
|
||||
|
||||
const {expect} = require('chai');
|
||||
|
||||
describe('graph.mutations.createComment', () => {
|
||||
beforeEach(() => SettingsService.init());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user