@@ -9,7 +9,7 @@ import { AsyncFunction, LOCAL_TEST_COMPONENTS_DIR } from "../common.js";
99
1010suite ( "Async (WASI P3)" , ( ) => {
1111 // see: https://github.com/bytecodealliance/jco/issues/1076
12- test ( "incorrect task return params offloading" , async ( ) => {
12+ test . concurrent ( "incorrect task return params offloading" , async ( ) => {
1313 const name = "async-flat-param-adder" ;
1414 const { instance, cleanup } = await setupAsyncTest ( {
1515 component : {
@@ -36,7 +36,7 @@ suite("Async (WASI P3)", () => {
3636 await cleanup ( ) ;
3737 } ) ;
3838
39- test ( "lowered imports use trailing result pointer" , async ( ) => {
39+ test . concurrent ( "lowered imports use trailing result pointer" , async ( ) => {
4040 const { instance, cleanup } = await setupAsyncTest ( {
4141 asyncMode : "jspi" ,
4242 component : {
@@ -69,7 +69,7 @@ suite("Async (WASI P3)", () => {
6969 } ) ;
7070
7171 // https://bytecodealliance.zulipchat.com/#narrow/channel/206238-general/topic/Should.20StringLift.20be.20emitted.20for.20async.20return.20values.3F/with/561133720
72- test ( "simple async returns" , async ( ) => {
72+ test . concurrent ( "simple async returns" , async ( ) => {
7373 const { instance, cleanup } = await setupAsyncTest ( {
7474 component : {
7575 path : join ( LOCAL_TEST_COMPONENTS_DIR , "async-simple-return.wasm" ) ,
@@ -95,7 +95,7 @@ suite("Async (WASI P3)", () => {
9595 } ) ;
9696
9797 // https://github.com/bytecodealliance/jco/issues/1150
98- test ( "simple bare async host imports" , async ( ) => {
98+ test . concurrent ( "simple bare async host imports" , async ( ) => {
9999 const hostStr = "loaded-from-host" ;
100100 const hostU32 = 43 ;
101101
@@ -129,7 +129,7 @@ suite("Async (WASI P3)", () => {
129129 await cleanup ( ) ;
130130 } ) ;
131131
132- test ( "async return of imported owned resource" , async ( ) => {
132+ test . concurrent ( "async return of imported owned resource" , async ( ) => {
133133 class ExampleResource {
134134 constructor ( id ) {
135135 this . id = id ;
@@ -167,9 +167,7 @@ suite("Async (WASI P3)", () => {
167167 await cleanup ( ) ;
168168 } ) ;
169169
170- // TODO(tandr): this test currently fails and needs fixes in wit-bindgen-core:
171- // https://github.com/bytecodealliance/wit-bindgen/pull/1614
172- test . skip ( "async return of bare imported owned resource" , async ( ) => {
170+ test . concurrent ( "async return of bare imported owned resource" , async ( ) => {
173171 class ExampleResource {
174172 constructor ( id ) {
175173 this . id = id ;
@@ -208,7 +206,7 @@ suite("Async (WASI P3)", () => {
208206 } ) ;
209207
210208 // https://github.com/bytecodealliance/jco/issues/1601
211- test ( "import of future-accepting host fn" , async ( ) => {
209+ test . concurrent ( "import of future-accepting host fn" , async ( ) => {
212210 const { instance, cleanup } = await setupAsyncTest ( {
213211 component : {
214212 path : join ( LOCAL_TEST_COMPONENTS_DIR , "pass-back-host-resolved-future.wasm" ) ,
0 commit comments