Skip to content

Commit d88d8b6

Browse files
test
1 parent 224cb3f commit d88d8b6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tests/integration/setup.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ async function setupIntegrationTests(file_name, geode_object, object_type) {
5353
const [back_port, viewer_port] = await Promise.all([
5454
run_back(back_path, {
5555
project_folder_path: project_folder_path,
56+
upload_folder_path: upload_folder_path,
5657
}),
5758
run_viewer(viewer_path, {
5859
project_folder_path: project_folder_path,

utils/local.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,15 +112,15 @@ async function run_back(
112112
command,
113113
args = {
114114
project_folder_path,
115+
upload_folder_path: path.join(args.project_folder_path, "uploads"),
115116
},
116117
) {
117118
return new Promise(async (resolve, reject) => {
118-
const upload_folder_path = path.join(args.project_folder_path, "uploads")
119119
const port = await get_available_port()
120120
const back_args = [
121121
"--port " + port,
122122
"--data_folder_path " + args.project_folder_path,
123-
"--upload_folder_path " + upload_folder_path,
123+
"--upload_folder_path " + args.upload_folder_path,
124124
"--allowed_origin http://localhost:*",
125125
"--timeout " + 0,
126126
]

0 commit comments

Comments
 (0)