mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
💚 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:
2
spec/fixtures/babel/invalid.js
vendored
2
spec/fixtures/babel/invalid.js
vendored
@@ -1,3 +1,3 @@
|
||||
'use 6to6';
|
||||
|
||||
module.exports = async function hello() {}
|
||||
module.exports = async function* hello() {}
|
||||
|
||||
Reference in New Issue
Block a user