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