[WIP] add test

This commit is contained in:
Benjamin Lichtman
2018-09-11 11:12:10 -07:00
parent 8c9e8666ed
commit 7466ac1cd5
@@ -1194,6 +1194,11 @@ const [#|foo|] = function () {
}
`);
_testConvertToAsyncFunction("convertToAsyncFunction_catchBlockUniqueParams", `
function [#|f|]() {
return Promise.resolve().then(x => 1).catch(x => "a").then(x => !!x);
}
`);
});