Skip to content

Commit

Permalink
Fixed linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
manueltimita committed Mar 3, 2024
1 parent 9ab4f6f commit 4e81460
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
4 changes: 2 additions & 2 deletions tests/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ async function initGroups () {
async function insertGroup (groupId) {
await Groups.insertAsync({
_id: groupId,
authors: [],
authors: []
})
}

Expand All @@ -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 } })
Expand Down

0 comments on commit 4e81460

Please sign in to comment.