Skip to content

Commit

Permalink
Make sure under_score names work in package tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
glasser committed Sep 17, 2012
1 parent ce4e415 commit 374dd8f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/tinytest/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ Package.describe({
});

Package.on_use(function (api) {
// "past" is always included before app code (see init_from_app_dir) 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.add_files('tinytest.js', ['client', 'server']);
Expand Down

0 comments on commit 374dd8f

Please sign in to comment.