grunt-karma icon indicating copy to clipboard operation
grunt-karma copied to clipboard

feat: support for type attribute on files

Open wesleyorbin opened this issue 4 years ago • 4 comments

This small change adds support to natively run tests written as ES6 modules (without preprocessors) just by adding type: 'module' as an option on files. An example usage is below:

files: [
  { 
    src: [ 'my-test.js' ],
    type: 'module',
    served: true,
    included: true,
    watched: true
  }
]

wesleyorbin avatar Nov 13 '19 15:11 wesleyorbin

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

googlebot avatar Nov 13 '19 15:11 googlebot

@googlebot I signed it!

wesleyorbin avatar Nov 13 '19 20:11 wesleyorbin

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

googlebot avatar Nov 13 '19 20:11 googlebot

Hi, is there a plan to merge this request? Our team needs it as well to support modules.

gouthamrajmr avatar Oct 06 '22 13:10 gouthamrajmr