mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 09:13:25 +00:00
Add very basic integration tests
This commit is contained in:
3
tests/README.md
Normal file
3
tests/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Integration test folder
|
||||
|
||||
This folder simply holds some import tests, to see if the library still works with all its dependencies.
|
2
tests/cjs/index.js
Normal file
2
tests/cjs/index.js
Normal file
@@ -0,0 +1,2 @@
|
||||
require('../../lib/index.umd');
|
||||
console.log('import successful!');
|
4
tests/cjs/package.json
Normal file
4
tests/cjs/package.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"main": "index.js",
|
||||
"type": "commonjs"
|
||||
}
|
2
tests/esm/index.mjs
Normal file
2
tests/esm/index.mjs
Normal file
@@ -0,0 +1,2 @@
|
||||
import '../../lib/index.mjs';
|
||||
console.log('import successful!');
|
4
tests/esm/package.json
Normal file
4
tests/esm/package.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"main": "index.mjs",
|
||||
"type": "module"
|
||||
}
|
Reference in New Issue
Block a user