mirror of
https://github.com/vale981/grapher
synced 2025-03-05 17:41:41 -05:00
fixed issue for server-side tests
This commit is contained in:
parent
a65ee9fd4a
commit
66a86debd5
1 changed files with 1 additions and 3 deletions
|
@ -103,14 +103,12 @@ CategoryCollection.addLinks({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
Meteor.startup(() => {
|
describe('Collection Links', function () {
|
||||||
PostCollection.remove({});
|
PostCollection.remove({});
|
||||||
CategoryCollection.remove({});
|
CategoryCollection.remove({});
|
||||||
CommentCollection.remove({});
|
CommentCollection.remove({});
|
||||||
ResolverCollection.remove({});
|
ResolverCollection.remove({});
|
||||||
});
|
|
||||||
|
|
||||||
describe('Collection Links', function () {
|
|
||||||
it('Test Many', function () {
|
it('Test Many', function () {
|
||||||
let postId = PostCollection.insert({'text': 'abc'});
|
let postId = PostCollection.insert({'text': 'abc'});
|
||||||
let commentId = CommentCollection.insert({'text': 'abc'});
|
let commentId = CommentCollection.insert({'text': 'abc'});
|
||||||
|
|
Loading…
Add table
Reference in a new issue