loopback-boot/test
John McLaughlin 2b596c8c8b
Support es2015 module exports (Babel, TypeScript)
Detect when a script file is an es2015 module created by
a transpiler like Babel or TypeScript and use the `default`
export instead of `module.exports` in such case.

The following artefacts support the new syntax now:

  - boot scripts
  - components
  - middleware
  - model scripts
2017-06-26 14:35:43 +02:00
..
fixtures Support es2015 module exports (Babel, TypeScript) 2017-06-26 14:35:43 +02:00
helpers Support es2015 module exports (Babel, TypeScript) 2017-06-26 14:35:43 +02:00
browser.multiapp.test.js update copyright notices and license 2016-05-05 21:52:36 -07:00
browser.test.js Support es2015 module exports (Babel, TypeScript) 2017-06-26 14:35:43 +02:00
compiler.test.js add support for absolute middleware paths on win32 2016-11-29 11:03:09 +01:00
config-loader.test.js Stop caching config files 2016-07-01 15:38:25 +02:00
executor.test.js Support es2015 module exports (Babel, TypeScript) 2017-06-26 14:35:43 +02:00
utils.test.js Replace fs.existsSync calls with fs.statSync 2016-09-05 14:29:51 +02:00