Commit bcaec4b6b963e9bf90e97c8a22185a5e6a1532aa
1 parent
76dd62c7bc
Exists in
master
a few maintenance tasks
- Bump Meteor to 1.3.2.4 - Update Meteor Version in README.md - Add an npm test command for running unit tests with Mocha - Remove unnecessary import of chai in api/documents/documents.tests.js and use assert directly.
Showing
5 changed files
with
89 additions
and
90 deletions
Show diff stats
.meteor/release
.meteor/versions
1 | -accounts-base@1.2.5 | |
2 | -accounts-password@1.1.7 | |
1 | +accounts-base@1.2.7 | |
2 | +accounts-password@1.1.8 | |
3 | 3 | alanning:roles@1.2.15 |
4 | 4 | aldeed:collection2@2.9.1 |
5 | 5 | aldeed:collection2-core@1.1.1 |
6 | 6 | aldeed:schema-deny@1.0.1 |
7 | 7 | aldeed:schema-index@1.0.1 |
8 | 8 | aldeed:simple-schema@1.5.3 |
9 | -allow-deny@1.0.3 | |
10 | -audit-argument-checks@1.0.6 | |
11 | -autoupdate@1.2.7 | |
12 | -babel-compiler@6.6.1 | |
13 | -babel-runtime@0.1.7 | |
14 | -base64@1.0.7 | |
15 | -binary-heap@1.0.7 | |
16 | -blaze@2.1.6 | |
17 | -blaze-tools@1.0.7 | |
18 | -boilerplate-generator@1.0.7 | |
19 | -browser-policy@1.0.8 | |
20 | -browser-policy-common@1.0.8 | |
21 | -browser-policy-content@1.0.9 | |
22 | -browser-policy-framing@1.0.9 | |
23 | -caching-compiler@1.0.3 | |
24 | -caching-html-compiler@1.0.5 | |
25 | -callback-hook@1.0.7 | |
26 | -check@1.1.3 | |
27 | -coffeescript@1.0.16 | |
9 | +allow-deny@1.0.4 | |
10 | +audit-argument-checks@1.0.7 | |
11 | +autoupdate@1.2.9 | |
12 | +babel-compiler@6.6.4 | |
13 | +babel-runtime@0.1.8 | |
14 | +base64@1.0.8 | |
15 | +binary-heap@1.0.8 | |
16 | +blaze@2.1.7 | |
17 | +blaze-tools@1.0.8 | |
18 | +boilerplate-generator@1.0.8 | |
19 | +browser-policy@1.0.9 | |
20 | +browser-policy-common@1.0.9 | |
21 | +browser-policy-content@1.0.10 | |
22 | +browser-policy-framing@1.0.10 | |
23 | +caching-compiler@1.0.4 | |
24 | +caching-html-compiler@1.0.6 | |
25 | +callback-hook@1.0.8 | |
26 | +check@1.2.1 | |
27 | +coffeescript@1.0.17 | |
28 | 28 | dburles:factory@0.4.2 |
29 | -ddp@1.2.4 | |
30 | -ddp-client@1.2.4 | |
31 | -ddp-common@1.2.4 | |
32 | -ddp-rate-limiter@1.0.3 | |
33 | -ddp-server@1.2.5 | |
34 | -deps@1.0.11 | |
35 | -diff-sequence@1.0.4 | |
36 | -ecmascript@0.4.2 | |
37 | -ecmascript-runtime@0.2.9 | |
38 | -ejson@1.0.10 | |
39 | -email@1.0.11 | |
40 | -es5-shim@4.5.9 | |
41 | -fastclick@1.0.10 | |
29 | +ddp@1.2.5 | |
30 | +ddp-client@1.2.7 | |
31 | +ddp-common@1.2.5 | |
32 | +ddp-rate-limiter@1.0.4 | |
33 | +ddp-server@1.2.6 | |
34 | +deps@1.0.12 | |
35 | +diff-sequence@1.0.5 | |
36 | +ecmascript@0.4.3 | |
37 | +ecmascript-runtime@0.2.10 | |
38 | +ejson@1.0.11 | |
39 | +email@1.0.12 | |
40 | +es5-shim@4.5.10 | |
41 | +fastclick@1.0.11 | |
42 | 42 | fortawesome:fontawesome@4.5.0 |
43 | 43 | fourseven:scss@3.4.3 |
44 | -geojson-utils@1.0.7 | |
45 | -hot-code-push@1.0.3 | |
46 | -html-tools@1.0.8 | |
47 | -htmljs@1.0.8 | |
48 | -http@1.1.4 | |
49 | -id-map@1.0.6 | |
50 | -jquery@1.11.7 | |
51 | -launch-screen@1.0.10 | |
52 | -livedata@1.0.17 | |
53 | -localstorage@1.0.8 | |
54 | -logging@1.0.11 | |
44 | +geojson-utils@1.0.8 | |
45 | +hot-code-push@1.0.4 | |
46 | +html-tools@1.0.9 | |
47 | +htmljs@1.0.9 | |
48 | +http@1.1.5 | |
49 | +id-map@1.0.7 | |
50 | +jquery@1.11.8 | |
51 | +launch-screen@1.0.11 | |
52 | +livedata@1.0.18 | |
53 | +localstorage@1.0.9 | |
54 | +logging@1.0.12 | |
55 | 55 | mdg:validated-method@1.1.0 |
56 | 56 | mdg:validation-error@0.5.1 |
57 | -meteor@1.1.13 | |
58 | -meteor-base@1.0.3 | |
59 | -minifier-css@1.1.10 | |
60 | -minifier-js@1.1.10 | |
61 | -minimongo@1.0.13 | |
62 | -mobile-experience@1.0.3 | |
63 | -mobile-status-bar@1.0.11 | |
64 | -modules@0.5.2 | |
65 | -modules-runtime@0.6.2 | |
66 | -mongo@1.1.6 | |
67 | -mongo-id@1.0.3 | |
68 | -npm-bcrypt@0.7.8_2 | |
69 | -npm-mongo@1.4.42 | |
70 | -observe-sequence@1.0.10 | |
71 | -ordered-dict@1.0.6 | |
57 | +meteor@1.1.14 | |
58 | +meteor-base@1.0.4 | |
59 | +minifier-css@1.1.11 | |
60 | +minifier-js@1.1.11 | |
61 | +minimongo@1.0.16 | |
62 | +mobile-experience@1.0.4 | |
63 | +mobile-status-bar@1.0.12 | |
64 | +modules@0.6.1 | |
65 | +modules-runtime@0.6.3 | |
66 | +mongo@1.1.7 | |
67 | +mongo-id@1.0.4 | |
68 | +npm-bcrypt@0.8.5 | |
69 | +npm-mongo@1.4.43 | |
70 | +observe-sequence@1.0.11 | |
71 | +ordered-dict@1.0.7 | |
72 | 72 | practicalmeteor:chai@2.1.0_1 |
73 | 73 | practicalmeteor:loglevel@1.2.0_2 |
74 | 74 | practicalmeteor:mocha@2.4.5_1 |
75 | 75 | practicalmeteor:mocha-core@0.1.4 |
76 | 76 | practicalmeteor:sinon@1.14.1_2 |
77 | -promise@0.6.6 | |
77 | +promise@0.6.7 | |
78 | 78 | raix:eventemitter@0.1.3 |
79 | -random@1.0.8 | |
80 | -rate-limit@1.0.3 | |
79 | +random@1.0.9 | |
80 | +rate-limit@1.0.4 | |
81 | 81 | react-meteor-data@0.2.9 |
82 | -reactive-dict@1.1.6 | |
83 | -reactive-var@1.0.8 | |
84 | -reload@1.1.7 | |
85 | -retry@1.0.6 | |
86 | -routepolicy@1.0.9 | |
87 | -service-configuration@1.0.8 | |
88 | -session@1.1.4 | |
89 | -sha@1.0.6 | |
90 | -spacebars@1.0.10 | |
91 | -spacebars-compiler@1.0.10 | |
92 | -srp@1.0.7 | |
93 | -standard-minifier-css@1.0.5 | |
94 | -standard-minifier-js@1.0.5 | |
95 | -static-html@1.0.6 | |
96 | -templating@1.1.8 | |
97 | -templating-tools@1.0.3 | |
82 | +reactive-dict@1.1.7 | |
83 | +reactive-var@1.0.9 | |
84 | +reload@1.1.8 | |
85 | +retry@1.0.7 | |
86 | +routepolicy@1.0.10 | |
87 | +service-configuration@1.0.9 | |
88 | +session@1.1.5 | |
89 | +sha@1.0.7 | |
90 | +spacebars@1.0.11 | |
91 | +spacebars-compiler@1.0.11 | |
92 | +srp@1.0.8 | |
93 | +standard-minifier-css@1.0.6 | |
94 | +standard-minifier-js@1.0.6 | |
95 | +static-html@1.0.7 | |
96 | +templating@1.1.9 | |
97 | +templating-tools@1.0.4 | |
98 | 98 | themeteorchef:bert@2.1.0 |
99 | 99 | themeteorchef:jquery-validation@1.14.0 |
100 | 100 | tmeasday:check-npm-versions@0.2.0 |
101 | 101 | tmeasday:test-reporter-helpers@0.2.1 |
102 | -tracker@1.0.12 | |
103 | -ui@1.0.10 | |
104 | -underscore@1.0.7 | |
105 | -url@1.0.8 | |
106 | -webapp@1.2.7 | |
107 | -webapp-hashing@1.0.8 | |
102 | +tracker@1.0.13 | |
103 | +ui@1.0.11 | |
104 | +underscore@1.0.8 | |
105 | +url@1.0.9 | |
106 | +webapp@1.2.8 | |
107 | +webapp-hashing@1.0.9 | |
108 | 108 | xolvio:backdoor@0.2.0 |
109 | 109 | xolvio:cleaner@0.3.0 |
110 | 110 | xolvio:email-stub@0.2.0 | ... | ... |
README.md
imports/api/documents/documents.tests.js
1 | 1 | /* eslint-env mocha */ |
2 | 2 | /* eslint-disable func-names, prefer-arrow-callback */ |
3 | 3 | |
4 | -import { chai } from 'meteor/practicalmeteor:chai'; | |
4 | +import { assert } from 'meteor/practicalmeteor:chai'; | |
5 | 5 | import { Documents } from './documents.js'; |
6 | 6 | |
7 | -const { assert } = chai; | |
8 | - | |
9 | 7 | describe('Documents collection', function () { |
10 | 8 | it('registers the collection with Mongo properly', function () { |
11 | 9 | assert.equal(typeof Documents, 'object'); | ... | ... |
package.json
... | ... | @@ -4,6 +4,7 @@ |
4 | 4 | "description": "Application description.", |
5 | 5 | "scripts": { |
6 | 6 | "start": "meteor --settings settings-development.json", |
7 | + "test": "meteor test --driver-package practicalmeteor:mocha --port 5000", | |
7 | 8 | "chimp-watch": "chimp --ddp=http://localhost:3000 --watch --mocha --path=tests", |
8 | 9 | "chimp-test": "chimp --ddp=http://localhost:3000 --mocha --path=tests", |
9 | 10 | "staging": "meteor deploy staging.meteor.com --settings settings-development.json", | ... | ... |