Skip to content

Commit

Permalink
Fix lint problems
Browse files Browse the repository at this point in the history
  • Loading branch information
harryadel committed Jun 19, 2024
1 parent 064f9c2 commit 6793651
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/remove_allow.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ const collection = new Mongo.Collection('test_remove_allow_collection')
if (Meteor.isServer) {
// full client-side access
collection.allow({
insertAsync() { return true },
updateAsync() { return true },
remove(userId, doc) { return doc.allowed },
removeAsync(userId, doc) { return doc.allowed }
insertAsync () { return true },
updateAsync () { return true },
remove (userId, doc) { return doc.allowed },
removeAsync (userId, doc) { return doc.allowed }
})

Meteor.methods({
Expand All @@ -30,7 +30,7 @@ if (Meteor.isClient) {

Tinytest.addAsync('remove - only one of two collection documents should be allowed to be removed', async function (test) {
collection.before.remove(function (userId, doc) {
// Ensuring remove gets triggered
// Ensuring remove gets triggered
test.equal(doc.start_value, true)
})

Expand Down

0 comments on commit 6793651

Please sign in to comment.