Skip to content

Instantly share code, notes, and snippets.

@alexyoung
Created December 9, 2010 23:08
Show Gist options
  • Save alexyoung/735481 to your computer and use it in GitHub Desktop.
Save alexyoung/735481 to your computer and use it in GitHub Desktop.
require.paths.unshift('./turing-test/lib');
turing = require('../turing.core.js').turing;
var test = require('test'),
assert = require('assert'),
$t = require('../turing.alias.js');
exports.testAlias = {
'test turing is present': function() {
assert.equal(turing.VERSION, '0.0.41', 'turing.core should have loaded');
},
'test alias exists': function() {
assert.ok($t, 'the $t alias should be available');
}
};
test.run(exports);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment