diff --git a/roles/tests/clientAsync.js b/roles/tests/clientAsync.js index 0f606b7..ce1575e 100644 --- a/roles/tests/clientAsync.js +++ b/roles/tests/clientAsync.js @@ -5,11 +5,11 @@ import { Meteor } from 'meteor/meteor' import chai, { assert } from 'chai' import chaiAsPromised from 'chai-as-promised' -chai.use(chaiAsPromised) - // To ensure that the files are loaded for coverage import '../roles_common' +chai.use(chaiAsPromised) + const safeInsert = async (collection, data) => { try { await collection.insertAsync(data)