auth-api/tests/node_modules/tape/test/async-await/async-error.js

10 lines
191 B
JavaScript
Raw Normal View History

2021-06-23 22:30:45 +02:00
'use strict';
var test = require('../../');
test('async-error', async function myTest(t) {
t.ok(true, 'before throw');
throw new Error('oopsie');
t.ok(true, 'after throw');
});