Guest User

Untitled

a guest
Jun 21st, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. require.paths.unshift(__dirname + '/../modules', __dirname + '/../lib/node', __dirname, __dirname + '/../');
  2.  
  3. var app = require('app');
  4.  
  5. module.exports = {
  6. 'simple test': function(assert){
  7. // Simple equality check
  8. assert.equal(6, 'foobar'.length);
  9.  
  10. // Check that node stack is setup properly
  11. assert.response(app, {
  12. url: '/',
  13. timeout: 500
  14. }, {
  15. body: /Hello/,
  16. });
  17. }
  18. }
Add Comment
Please, Sign In to add comment