Files
babel/test/fixtures/traceur/AsyncFunctions/AsyncArrow.js
Sebastian McKenzie 6a35bdb42b add traceur test suite
2015-01-04 19:40:09 +11:00

10 lines
141 B
JavaScript

// Options: --async-functions
// Async.
var f = async () => 1;
f().then((result) => {
assert.equal(result, 1);
done();
}).catch(done);