mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
24 lines
721 B
JavaScript
24 lines
721 B
JavaScript
Package.describe({
|
|
summary: "Tiny testing framework",
|
|
internal: true
|
|
});
|
|
|
|
Package.on_use(function (api) {
|
|
// "past" is always included before app code (see initFromAppDir) but not
|
|
// before packages when testing. This makes sure that tests see
|
|
// backward-compatibility hooks, at least if they use tinytest.
|
|
api.use('past');
|
|
|
|
api.use('underscore', ['client', 'server']);
|
|
api.use('random', ['client', 'server']);
|
|
|
|
api.add_files('tinytest.js', ['client', 'server']);
|
|
|
|
api.use('mongo-livedata', ['client', 'server']);
|
|
api.add_files('model.js', ['client', 'server']);
|
|
|
|
api.add_files('tinytest_client.js', 'client');
|
|
api.use('startup', 'server');
|
|
api.add_files('tinytest_server.js', 'server');
|
|
});
|