Package.describe({
  summary: "Additional tests for Spacebars",
  internal: true
});

// These tests are in a separate package to avoid a circular dependency
// between the `spacebars` and `templating` packages.
Package.on_test(function (api) {
  api.use('underscore');
  api.use('spacebars');
  api.use('tinytest');
  api.use('jquery');
  api.use('test-helpers');
  api.use('showdown');

  api.use('templating', 'client');
  api.add_files([
    'template_tests.html',
    'template_tests.js',
    'templating_tests.html',
    'templating_tests.js'
  ], 'client');

  api.add_files('template_tests_server.js', 'server');

  api.add_files([
    'assets/markdown_basic.html',
    'assets/markdown_if1.html',
    'assets/markdown_if2.html',
    'assets/markdown_each1.html',
    'assets/markdown_each2.html'
  ], 'server', { isAsset: true });
});

Package.describe({
  summary: "Additional tests for Spacebars",
  internal: true
});

// These tests are in a separate package to avoid a circular dependency
// between the `spacebars` and `templating` packages.
Package.on_test(function (api) {
  api.use('underscore');
  api.use('spacebars');
  api.use('tinytest');
  api.use('jquery');
  api.use('test-helpers');
  api.use('showdown');
  api.use('minimongo');

  api.use('templating', 'client');
  api.add_files([
    'template_tests.html',
    'template_tests.js',
    'templating_tests.html',
    'templating_tests.js'
  ], 'client');

  api.add_files('template_tests_server.js', 'server');

  api.add_files([
    'assets/markdown_basic.html',
    'assets/markdown_if1.html',
    'assets/markdown_if2.html',
    'assets/markdown_each1.html',
    'assets/markdown_each2.html'
  ], 'server', { isAsset: true });
});

Add mongo dependency back to template tests
Add mongo dependency back to template tests
