cordova-plugin-uiwebview-engine
Version:
Cordova UIWebView Engine Plugin
21 lines (17 loc) • 452 B
JavaScript
var tape = require('../');
var tap = require('tap');
tap.test('only twice error', function (assert) {
var test = tape.createHarness({ exit : false });
test.only("first only", function (t) {
t.end();
});
assert.throws(function () {
test.only('second only', function (t) {
t.end();
});
}, {
name: 'Error',
message: 'there can only be one only test'
});
assert.end();
});