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

10 lines
191 B
JavaScript

'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');
});