Files
meteor/packages/test-in-console/package.js
Gabriel Grubba 1e893d3e9a Meteor version to 2.8.0 ☄️
2022-10-17 10:20:40 -03:00

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');
});