Skip to content

Commit f3b0e04

Browse files
committed
Add GUIDA_REGISTRY environment variable to REPL test execution
1 parent 2bfa3ae commit f3b0e04

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/repl.test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ describe("repl", () => {
1414
const run = (input, output, done) => {
1515
const repl = child_process.spawn("./bin/index.js", ["repl"], {
1616
cwd: path.join(__dirname, ".."),
17-
stdio: "pipe"
17+
stdio: "pipe",
18+
env: { ...process.env, GUIDA_REGISTRY: "https://package.elm-lang.org" }
1819
});
1920

2021
repl.stdout.on("data", (data) => {

0 commit comments

Comments
 (0)