Skip to content

Commit 448b5d8

Browse files
chore(jco): lint
1 parent 24068a2 commit 448b5d8

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

packages/jco/test/p3/ported/wasmtime/component-async/closed-streams.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ suite.skip("closed streams scenario", () => {
2525
const componentPath = join(COMPONENT_FIXTURES_DIR, "p3/streams/async-closed-streams.wasm");
2626
let cleanup;
2727
try {
28-
const { instance, ...rest } = await buildAndTranspile({
28+
const res = await buildAndTranspile({
2929
componentPath,
3030
component: {
3131
path: componentPath,
@@ -37,7 +37,7 @@ suite.skip("closed streams scenario", () => {
3737
},
3838
},
3939
});
40-
cleanup = rest.cleanup;
40+
cleanup = res.cleanup;
4141

4242
// TODO: create single element stream on host side (tx, rx)
4343
// TODO: create listof values (3 u32s is fine)

packages/jco/test/p3/ported/wasmtime/component-async/read-resource-stream.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ suite("read resource stream", () => {
4141
"local:local/resource-stream": {
4242
X,
4343
foo: (count) => {
44-
return createReadableStreamFromValues(
45-
[...new Array(count)].map(() => new X())
46-
);
44+
return createReadableStreamFromValues([...new Array(count)].map(() => new X()));
4745
},
4846
},
4947
});

0 commit comments

Comments
 (0)