mirror of
https://github.com/vale981/grapher
synced 2025-03-04 17:11:38 -05:00
Merge pull request #312 from bhunjadi/remove-chai
Remove practicalmeteor:chai
This commit is contained in:
commit
c9174d4ca6
17 changed files with 19 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 ../
|
1
lib/exposure/testing/client.js
Normal file → Executable file
1
lib/exposure/testing/client.js
Normal file → Executable file
|
@ -1,3 +1,4 @@
|
|||
import { assert } from 'chai';
|
||||
import Demo, {
|
||||
DemoMethod,
|
||||
DemoPublication
|
||||
|
|
1
lib/exposure/testing/units/units.js
Normal file → Executable file
1
lib/exposure/testing/units/units.js
Normal file → Executable file
|
@ -1,3 +1,4 @@
|
|||
import { assert } from 'chai';
|
||||
import restrictFields from '../../lib/restrictFields.js';
|
||||
import enforceMaxLimit from '../../lib/enforceMaxLimit.js';
|
||||
import cleanBody from '../../lib/cleanBody.js';
|
||||
|
|
1
lib/graphql/testing/astToBody.test.js
Normal file → Executable file
1
lib/graphql/testing/astToBody.test.js
Normal file → Executable file
|
@ -1,3 +1,4 @@
|
|||
import { assert } from 'chai';
|
||||
import astToBody, { Symbols } from '../lib/astToBody';
|
||||
import ast from './ast.js';
|
||||
|
||||
|
|
1
lib/graphql/testing/astToQuery.test.js
Normal file → Executable file
1
lib/graphql/testing/astToQuery.test.js
Normal file → Executable file
|
@ -1,3 +1,4 @@
|
|||
import { assert } from 'chai';
|
||||
import { Symbols } from '../lib/astToBody';
|
||||
|
||||
import astToQuery, {
|
||||
|
|
1
lib/links/tests/main.js
Normal file → Executable file
1
lib/links/tests/main.js
Normal file → Executable file
|
@ -1,3 +1,4 @@
|
|||
import { assert } from 'chai';
|
||||
//import {
|
||||
// PostCollection,
|
||||
// CategoryCollection,
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
import { assert } from 'chai';
|
||||
import postListExposure from './bootstrap/queries/postListExposure.js';
|
||||
import postListExposureScoped from './bootstrap/queries/postListExposureScoped';
|
||||
import userListScoped from './bootstrap/queries/userListScoped';
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
import { assert } from 'chai';
|
||||
import {
|
||||
postList,
|
||||
postListCached,
|
||||
|
|
1
lib/query/counts/testing/client.test.js
Normal file → Executable file
1
lib/query/counts/testing/client.test.js
Normal file → Executable file
|
@ -1,3 +1,4 @@
|
|||
import { assert } from 'chai';
|
||||
import { Tracker } from 'meteor/tracker';
|
||||
import PostsCollection from './bootstrap/collection.test';
|
||||
import NamedQuery, {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
import { assert } from 'chai';
|
||||
import { createQuery } from 'meteor/cultofcoders:grapher';
|
||||
import './reducers.client.test';
|
||||
import './security.client.test';
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
import { assert } from 'chai';
|
||||
import createFixtures from './fixtures';
|
||||
import { createQuery } from 'meteor/cultofcoders:grapher';
|
||||
import {
|
||||
|
|
1
lib/query/testing/metaFilters.server.test.js
Normal file → Executable file
1
lib/query/testing/metaFilters.server.test.js
Normal file → Executable file
|
@ -1,3 +1,4 @@
|
|||
import { assert } from 'chai';
|
||||
import { createQuery } from 'meteor/cultofcoders:grapher';
|
||||
|
||||
describe('Hypernova - $meta filters', function () {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
import { assert } from 'chai';
|
||||
import { createQuery } from 'meteor/cultofcoders:grapher';
|
||||
import waitForHandleToBeReady from './lib/waitForHandleToBeReady';
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
import { assert } from 'chai';
|
||||
import { createQuery } from 'meteor/cultofcoders:grapher';
|
||||
import Authors from './bootstrap/authors/collection';
|
||||
import Comments from './bootstrap/comments/collection';
|
||||
|
|
1
lib/query/testing/security.client.test.js
Normal file → Executable file
1
lib/query/testing/security.client.test.js
Normal file → Executable file
|
@ -1,3 +1,4 @@
|
|||
import { assert } from 'chai';
|
||||
import { createQuery } from 'meteor/cultofcoders:grapher';
|
||||
import waitForHandleToBeReady from './lib/waitForHandleToBeReady';
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
import { assert } from 'chai';
|
||||
import { createQuery } from 'meteor/cultofcoders:grapher';
|
||||
import dot from 'dot-object';
|
||||
import Comments from './bootstrap/comments/collection.js';
|
||||
|
|
|
@ -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,14 @@ 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']);
|
||||
|
||||
// LINKS
|
||||
api.addFiles('lib/links/tests/main.js', 'server');
|
||||
|
|
Loading…
Add table
Reference in a new issue