pulsar/spec/fixtures/babel
David Wilson 3bd2279d3c Make invalid JS file fail Babel spec again
This change uses a different JavaScript syntax to cause the "when a .js file
does not start with 'use babel'" spec to fail again after upgrading to Electron
3 / Node 10.3.0.  The previous generator syntax seems to be supported in the
version of V8 used by Node 10 so we now need to use the 'export default' syntax
to trigger an error.

I've verified that changing the first line of this file to 'use babel' causes
the file to load successfully, so it seems this new syntax is effective to
verify the desired behavior.
2019-05-06 20:24:29 +02:00
..
babel-comment.js Replace 'use babel' -> '@babel' in comment directive 2015-08-20 11:58:46 -07:00
babel-double-quotes.js Rename 6to5 to Babel 2015-02-18 12:23:58 +11:00
babel-single-quotes.js Rename 6to5 to Babel 2015-02-18 12:23:58 +11:00
flow-comment.js Test it. 2016-02-05 16:16:38 -05:00
flow-slash-comment.js allow the use of double slash flow comments 2018-03-21 18:07:16 -04:00
invalid.js Make invalid JS file fail Babel spec again 2019-05-06 20:24:29 +02:00