blob: b756a902fd7f7183d24510893fd169611352badb (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
var supportsAsync = require('../lib/internal/wrapAsync').supportsAsync;
describe('async function support', function () {
this.timeout(100);
if (supportsAsync()) {
require('./es2017/asyncFunctions.js')();
} else {
it('should not test async functions in this environment');
}
});
|