File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
integration-tests/js-compute/fixtures/app Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ defaults:
12
12
env :
13
13
viceroy_version : 0.9.4
14
14
wasm-tools_version : 1.0.28
15
- fastly-cli_version : 10.4.0
15
+ fastly-cli_version : 10.8.10
16
16
17
17
jobs :
18
18
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ async function setupKVStore() {
52
52
}
53
53
} ( ) )
54
54
55
- const STORE_ID = stores . Data . find ( ( { Name } ) => Name === 'example-test-kv-store' ) ?. ID
55
+ const STORE_ID = stores . Data . find ( ( { Name } ) => Name === 'example-test-kv-store' ) ?. StoreID
56
56
if ( ! STORE_ID ) {
57
57
process . env . STORE_ID = JSON . parse ( await zx `fastly kv-store create --quiet --name='example-test-kv-store' --json --token $FASTLY_API_TOKEN` ) . id
58
58
} else {
Original file line number Diff line number Diff line change @@ -59,9 +59,10 @@ async function removeKVStore() {
59
59
Accept : "application/json" ,
60
60
"Fastly-Key" : FASTLY_API_TOKEN
61
61
}
62
- } )
62
+ } ) . then ( res => res . json ( ) )
63
63
64
- let STORE_ID = ( await stores . json ( ) ) . data . find ( ( { name } ) => name === 'example-test-kv-store' ) ?. id
64
+
65
+ let STORE_ID = stores . data . find ( ( { name } ) => name === 'example-test-kv-store' ) ?. id
65
66
if ( STORE_ID ) {
66
67
await fetch ( `https://api.fastly.com/resources/stores/object/${ STORE_ID } ` , {
67
68
method : 'DELETE' ,
You can’t perform that action at this time.
0 commit comments