Skip to content

Commit eeedd41

Browse files
Jake ChampionJakeChampion
authored andcommitted
use default input and output locations for the fixtures as defined by the js-compute-runtime cli to make it possible to run "fastly compute servce -i" to run a fixture locally
1 parent 6da8c40 commit eeedd41

File tree

42 files changed

+22
-22
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+22
-22
lines changed

.github/actions/compute-sdk-test/dist/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7418,7 +7418,7 @@ class TestConfig {
74187418
}
74197419

74207420
wasmPath(testName) {
7421-
return `${this.fixtureBase}/${testName}/app.wasm`;
7421+
return `${this.fixtureBase}/${testName}/bin/main.wasm`;
74227422
}
74237423

74247424
fastlyTomlPath(testName) {

.github/actions/compute-sdk-test/src/test-suite.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class TestConfig {
1818
}
1919

2020
wasmPath(testName) {
21-
return `${this.fixtureBase}/${testName}/app.wasm`;
21+
return `${this.fixtureBase}/${testName}/bin/main.wasm`;
2222
}
2323

2424
fastlyTomlPath(testName) {

integration-tests/js-compute/fixtures/async-select/fastly.toml.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "async-select"
99
service_id = ""
1010

1111
[scripts]
12-
build = "mkdir -p bin && ../../../../target/release/js-compute-runtime app.js app.wasm"
12+
build = "../../../../target/release/js-compute-runtime"
1313

1414
[local_server]
1515

integration-tests/js-compute/fixtures/backend/fastly.toml.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manifest_version = 2
88
name = "compute-sdk-test-backend"
99

1010
[scripts]
11-
build = "mkdir -p bin && ../../../../target/release/js-compute-runtime app.js app.wasm"
11+
build = "../../../../target/release/js-compute-runtime"
1212

1313
[local_server]
1414

integration-tests/js-compute/fixtures/byte-repeater/fastly.toml.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "byte_repeater"
99
service_id = ""
1010

1111
[scripts]
12-
build = "mkdir -p bin && ../../../../target/release/js-compute-runtime app.js app.wasm"
12+
build = "../../../../target/release/js-compute-runtime"
1313

1414
[local_server]
1515

integration-tests/js-compute/fixtures/edge-dictionary/fastly.toml.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "edge-dictionary"
99
service_id = ""
1010

1111
[scripts]
12-
build = "mkdir -p bin && ../../../../target/release/js-compute-runtime app.js app.wasm"
12+
build = "../../../../target/release/js-compute-runtime"
1313

1414
[local_server]
1515

0 commit comments

Comments
 (0)