mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
22 lines
618 B
JavaScript
22 lines
618 B
JavaScript
Package.describe({
|
|
summary: 'Run tests noninteractively, with results going to the console.',
|
|
version: '1.2.4'
|
|
});
|
|
|
|
Package.onUse(function(api) {
|
|
api.use(['tinytest', 'underscore', 'random', 'ejson', 'check']);
|
|
api.use('http@2.0.0', 'server'); // TODO replace with fetch
|
|
|
|
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');
|
|
});
|