forked from practicalmeteor/meteor-munit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
executable file
·48 lines (39 loc) · 1.37 KB
/
package.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Package.describe({
summary: "Meteor unit testing framework for packages",
name: "practicalmeteor:munit",
version: "2.1.4",
git: "https://github.com/practicalmeteor/meteor-munit.git"
});
Package.onUse(function (api) {
api.versionsFrom('0.9.3');
api.use(["coffeescript", "underscore"]);
api.use(["tinytest","test-helpers"]);
api.use([
'practicalmeteor:[email protected]_1',
"practicalmeteor:[email protected]_3",
"practicalmeteor:[email protected]_2"]);
api.imply(["tinytest","test-helpers"]);
api.imply([
'practicalmeteor:[email protected]_1',
"practicalmeteor:[email protected]_3",
"practicalmeteor:[email protected]_2"
]);
api.addFiles("log.js");
api.addFiles("namespaces.js");
api.addFiles("async_multi.js");
api.addFiles("Munit.coffee");
api.addFiles("Helpers.coffee");
api.addFiles("Describe.coffee");
api.export(['lvTestAsyncMulti']);
api.export(['Munit']);
api.export(['describe', 'it', 'beforeAll', 'beforeEach', 'afterEach', 'afterAll']);
});
Package.onTest(function(api) {
api.use(["coffeescript", "practicalmeteor:[email protected]_1", "practicalmeteor:[email protected]"]);
api.addFiles("tests/log.js");
api.addFiles("tests/TDDTest.js");
api.addFiles("tests/DescribeTest.js");
api.addFiles("tests/TestRunnerTest.coffee");
api.addFiles("tests/HelpersTest.coffee");
api.addFiles("tests/DescribeTest.coffee");
});