Guest User

Untitled

a guest
Jul 16th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. require.paths.unshift('./turing-test/lib');
  2.  
  3. turing = require('../turing.core.js').turing;
  4. var test = require('test'),
  5. assert = require('assert'),
  6. $t = require('../turing.alias.js');
  7.  
  8. exports.testAlias = {
  9. 'test turing is present': function() {
  10. assert.equal(turing.VERSION, '0.0.41', 'turing.core should have loaded');
  11. },
  12.  
  13. 'test alias exists': function() {
  14. assert.ok($t, 'the $t alias should be available');
  15. }
  16. };
  17.  
  18. test.run(exports);
Add Comment
Please, Sign In to add comment