Skip to content

Latest commit

 

History

History

testImportAndRequire

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Testing usage of import and require for including actions

How to use this test

npm run test

What it does:

  1. Builds, packs and copies over cloudinary-url-gen.tgz
  2. Installs the local cloudinary-url-gen.tgz package
  3. Runs testImport.mjs *
  4. Runs testRequire.js
  • Notice that .mjs is the same as setting type="module" in package.json