From 4e814604554eaeabef72d1311404d9687df26029 Mon Sep 17 00:00:00 2001 From: Manuel Timita Date: Sun, 3 Mar 2024 21:38:18 +0000 Subject: [PATCH] Fixed linting issues --- tests/client.js | 2 +- tests/server.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/client.js b/tests/client.js index 19d7b3b..56186fe 100644 --- a/tests/client.js +++ b/tests/client.js @@ -2,7 +2,7 @@ import { Meteor } from 'meteor/meteor' import { Mongo } from 'meteor/mongo' import { expect } from 'chai' -import {Authors, Comments, Groups, Posts} from './common' +import { Authors, Comments, Groups, Posts } from './common' const Articles = new Mongo.Collection('articles') const CommentAuthors = new Mongo.Collection('commentAuthors') diff --git a/tests/server.js b/tests/server.js index 264b2f1..02ad2d8 100644 --- a/tests/server.js +++ b/tests/server.js @@ -227,7 +227,7 @@ async function initGroups () { async function insertGroup (groupId) { await Groups.insertAsync({ _id: groupId, - authors: [], + authors: [] }) } @@ -244,7 +244,7 @@ async function insertUser (username, groupId = 'Writers') { await Authors.insertAsync({ _id: userId, username, - groupIds: [groupId], + groupIds: [groupId] }) if (groupId) { await Groups.updateAsync({ _id: groupId }, { $push: { authors: username } })