mirror of
https://github.com/vale981/grapher
synced 2025-03-04 09:01:40 -05:00
Using npm chai instead of practicalmeteor:chai, updated peerlibrary:subscription-scope to 0.4.0
This commit is contained in:
parent
7635337c37
commit
ecda250c6e
3 changed files with 10 additions and 4 deletions
2
.travis.yml
Normal file → Executable file
2
.travis.yml
Normal file → Executable file
|
@ -27,5 +27,5 @@ before_script:
|
|||
script:
|
||||
- meteor create --bare test
|
||||
- cd test
|
||||
- meteor npm i --save selenium-webdriver@3.6.0 chromedriver@2.36.0 simpl-schema
|
||||
- meteor npm i --save selenium-webdriver@3.6.0 chromedriver@2.36.0 simpl-schema chai
|
||||
- METEOR_PACKAGE_DIRS="../" TEST_BROWSER_DRIVER=chrome meteor test-packages --once --driver-package meteortesting:mocha ../
|
3
lib/testing/main.js
Executable file
3
lib/testing/main.js
Executable file
|
@ -0,0 +1,3 @@
|
|||
import chai from 'chai';
|
||||
|
||||
global.assert = chai.assert;
|
|
@ -31,7 +31,7 @@ Package.onUse(function(api) {
|
|||
'reywood:publish-composite@1.5.2',
|
||||
'dburles:mongo-collection-instances@0.3.5',
|
||||
'herteby:denormalize@0.6.5',
|
||||
'peerlibrary:subscription-scope@0.1.0',
|
||||
'peerlibrary:subscription-scope@0.4.0',
|
||||
];
|
||||
|
||||
api.use(packages);
|
||||
|
@ -50,14 +50,17 @@ Package.onTest(function(api) {
|
|||
'reywood:publish-composite@1.5.2',
|
||||
'dburles:mongo-collection-instances@0.3.5',
|
||||
'herteby:denormalize@0.6.5',
|
||||
'peerlibrary:subscription-scope@0.1.0',
|
||||
'peerlibrary:subscription-scope@0.4.0',
|
||||
'mongo',
|
||||
];
|
||||
|
||||
api.use(packages);
|
||||
api.use('tracker');
|
||||
|
||||
api.use(['cultofcoders:mocha', 'practicalmeteor:chai']);
|
||||
api.use(['meteortesting:mocha']);
|
||||
|
||||
// main test config
|
||||
api.addFiles('lib/testing/main.js');
|
||||
|
||||
// LINKS
|
||||
api.addFiles('lib/links/tests/main.js', 'server');
|
||||
|
|
Loading…
Add table
Reference in a new issue