Blame view

imports/api/documents/documents.tests.js 372 Bytes
f0c912bf1   tmcdeveloper   add method tests ...
1
2
3
4
5
6
7
8
9
10
11
12
13
  /* eslint-env mocha */
  /* eslint-disable func-names, prefer-arrow-callback */
  
  import { chai } from 'meteor/practicalmeteor:chai';
  import { Documents } from './documents.js';
  
  const { assert } = chai;
  
  describe('Documents collection', function () {
    it('registers the collection with Mongo properly', function () {
      assert.equal(typeof Documents, 'object');
    });
  });