require:
'intern!object',
'intern/chai!assert',
'intern!qunit',
'intern/chai!expect',
function:
qunit.module('Suite name');
qunit.test('Test foo', function (assert) {
assert.expect(1);
assert.ok(true, 'Everything is OK');
});
registerSuite({
name: 'utils',
uuid: function () {
assert.isTrue(validUUIDRegex.test(uuid), 'identifier should be a valid UUID');
},
});
✓ Suite name - Test foo (0s)
PASS: Suite name - Test foo (0ms)
0/1 tests failed
✓ utils - uuid (0.177s)
PASS: utils - uuid (177ms)
✓ utils - pluralize (0s)
PASS: utils - pluralize (0ms)
✓ utils - store (0s)
PASS: utils - store (0ms)
✓ utils - tmp (0s)
PASS: utils - tmp (0ms)
0/4 tests failed
0/5 tests failed