Files
meteor/packages/test-in-console/package.js
Toine van Kampen d95a42df3c Retain PhantomJS for Console Tests
Add Phantom back in to retain the ability to run tests in legacy
browser. By default its false.
2018-05-01 21:45:29 +10:00

22 lines
585 B
JavaScript

Package.describe({
summary: 'Run tests noninteractively, with results going to the console.',
version: '1.2.2'
});
Package.onUse(function(api) {
api.use(['tinytest', 'underscore', 'random', 'ejson', 'check']);
api.use('http', 'server');
api.export('TEST_STATUS', 'client');
api.addFiles(['driver.js', 'test.css'], 'client');
api.addFiles(['reporter.js'], 'server');
// This is to be run by phantomjs, not as part of normal package code.
api.addAssets('phantomRunner.js', 'server');
api.addAssets('puppeteerRunner.js', 'server');
api.export('runTests');
});