require-tests.js 260 B

1234567891011121314
  1. doh.register(
  2. "requireTests",
  3. [
  4. function requireTests(t){
  5. var dynamic = require('./sub/dynamic');
  6. t.is(0, dynamic.count);
  7. dynamic.action();
  8. t.is(1, dynamic.count);
  9. }
  10. ]
  11. );
  12. doh.run();