mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-17 19:26:23 +00:00
increase 95% coverage
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
"dotenv": "^16.0.3",
|
||||
"mongodb": "^4.11.0"
|
||||
},
|
||||
"files": [
|
||||
"./lib/*"
|
||||
]
|
||||
"exports": {
|
||||
"./mock": "./lib/mock/index.cjs",
|
||||
"./mongo": "./lib/mongo/index.cjs"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ const { join } = require('path')
|
||||
|
||||
module.exports = [
|
||||
{
|
||||
input: join(__dirname, 'mock', 'index.js'),
|
||||
input: join(__dirname, 'src', 'mock', 'index.js'),
|
||||
output: {
|
||||
file: join(__dirname, 'lib', 'mock', 'index.cjs'),
|
||||
format: 'cjs',
|
||||
@@ -11,7 +11,7 @@ module.exports = [
|
||||
plugins: [commonjs()],
|
||||
},
|
||||
{
|
||||
input: join(__dirname, 'mongo', 'index.js'),
|
||||
input: join(__dirname, 'src', 'mongo', 'index.js'),
|
||||
output: {
|
||||
file: join(__dirname, 'lib', 'mongo', 'index.cjs'),
|
||||
format: 'cjs',
|
||||
|
||||
Reference in New Issue
Block a user