auth-api/tests/node_modules/tape/test/async-await/sync-error.js
2021-06-23 22:30:45 +02:00

11 lines
197 B
JavaScript

'use strict';
var test = require('../../');
test('sync-error', function myTest(t) {
t.ok(true, 'before throw');
throw new Error('oopsie');
t.ok(true, 'after throw');
t.end();
});