Files
meteor/packages/spacebars-tests/package.js
2015-02-11 18:10:33 -08:00

45 lines
1.2 KiB
JavaScript

Package.describe({
summary: "Additional tests for Spacebars",
version: '1.0.3-winr.2'
});
// These tests are in a separate package to avoid a circular dependency
// between the `spacebars` and `templating` packages.
Package.onTest(function (api) {
api.use('underscore');
api.use('spacebars');
api.use('tinytest');
api.use('jquery');
api.use('test-helpers');
api.use('reactive-var');
api.use('showdown');
api.use('minimongo');
api.use('tracker');
api.use('mongo');
api.use('templating', 'client');
api.addFiles([
'template_tests.html',
'template_tests.js',
'templating_tests.html',
'templating_tests.js',
'old_templates.js', // backcompat for packages built with old Blaze APIs.
'old_templates_tests.js'
], 'client');
api.addFiles('template_tests_server.js', 'server');
api.addFiles([
'assets/markdown_basic.html',
'assets/markdown_if1.html',
'assets/markdown_if2.html',
'assets/markdown_each1.html',
'assets/markdown_each2.html'
], 'server', { isAsset: true });
// For template level subscriptions, we need tests that can subscribe to
// things.
api.addFiles('template_tests_collections.js');
});