💚 Make the "invalid" Babel fixture throw

Due to the V8 upgrade we need to tune the fixture to make it throw.
Using a generator function does the trick 
This commit is contained in:
Thomas Johansen
2016-09-22 09:17:46 +02:00
parent 35cfa4e2e0
commit ceb05f03e2

View File

@@ -1,3 +1,3 @@
'use 6to6';
module.exports = async function hello() {}
module.exports = async function* hello() {}