plan_optional.js 275 B

1234567891011121314151617
  1. 'use strict';
  2. var test = require('../');
  3. test('plan should be optional', function (t) {
  4. t.pass('no plan here');
  5. t.end();
  6. });
  7. test('no plan async', function (t) {
  8. setTimeout(function () {
  9. t.pass('ok');
  10. t.end();
  11. }, 100);
  12. });
  13. // vim: set softtabstop=4 shiftwidth=4: