Remove redundant env from jestTestcontainersConfigGenerator
This commit is contained in:
parent
e639b7cf26
commit
265c22f6d3
|
@ -1,4 +1,4 @@
|
|||
module.exports = dependenciesEnv => {
|
||||
module.exports = () => {
|
||||
return {
|
||||
dockerCompose: {
|
||||
composeFilePath: "../../hosting",
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
const { join } = require("path")
|
||||
const { parsed: env } = require("dotenv").config({
|
||||
require("dotenv").config({
|
||||
path: join(__dirname, "..", "..", "hosting", ".env"),
|
||||
})
|
||||
|
||||
const jestTestcontainersConfigGenerator = require("../../jestTestcontainersConfigGenerator")
|
||||
|
||||
module.exports = jestTestcontainersConfigGenerator(env)
|
||||
module.exports = jestTestcontainersConfigGenerator()
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
const { join } = require("path")
|
||||
const { parsed: env } = require("dotenv").config({
|
||||
require("dotenv").config({
|
||||
path: join(__dirname, "..", "..", "hosting", ".env"),
|
||||
})
|
||||
|
||||
const jestTestcontainersConfigGenerator = require("../../jestTestcontainersConfigGenerator")
|
||||
|
||||
module.exports = jestTestcontainersConfigGenerator(env)
|
||||
module.exports = jestTestcontainersConfigGenerator()
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
const { join } = require("path")
|
||||
const { parsed: env } = require("dotenv").config({
|
||||
require("dotenv").config({
|
||||
path: join(__dirname, "..", "..", "hosting", ".env"),
|
||||
})
|
||||
|
||||
const jestTestcontainersConfigGenerator = require("../../jestTestcontainersConfigGenerator")
|
||||
|
||||
module.exports = jestTestcontainersConfigGenerator(env)
|
||||
module.exports = jestTestcontainersConfigGenerator()
|
||||
|
|
Loading…
Reference in New Issue