@@ -52,7 +52,6 @@ Establishing this initial prototype as a singular flexible engine foundation tha
5252### Weval AOT Compilation
5353
5454
55-
5655## Platform APIs
5756
5857The following APIs are available:
@@ -330,21 +329,20 @@ imports. Direct component analysis should be used to correctly infer the real im
330329
331330## Contributing
332331
333- ### Pre - requisites
332+ To contribute , you ' ll need to set up the following :
334333
335334* ` git submodule update --init --recursive ` to update the submodules .
336335* Stable Rust with the ` wasm32-unknown-unknown ` and ` wasm32-wasi ` targets
337336 installed .
338337* ` wasi-sdk-20.0 ` installed at ` /opt/wasi-sdk/ `
339338
340- ### Building and testing
339+ ## Building
341340
342341Building and testing the project can be performed via NPM scripts (see [` package.json ` ](./ package .json )):
343342
344343` ` ` console
345344npm install
346345npm run build
347- npm run test
348346` ` `
349347
350348Before being able to use ` componetize-js ` (ex . via ` npm link ` , from ` jco ` ), you ' ll need to run:
@@ -361,12 +359,30 @@ To clean up a local installation (i.e. remove the installation of StarlingMonkey
361359npm run clean
362360```
363361
362+ ## Testing
363+
364+ To run all tests:
365+
366+ ``` console
367+ npm run test
368+ ```
369+
370+ ### Running a specific test
371+
372+ To run a specific test suite, you can pass an argument to [ ` vitest ` ] [ vitest ] :
373+
374+ ``` console
375+ npm run test -- test/wasi.js
376+ ```
377+
378+ [ vitest ] : https://vitest.dev
379+
364380# License
365381
366382This project is licensed under the Apache 2.0 license with the LLVM exception.
367383See [ LICENSE] ( LICENSE ) for more details.
368384
369- ### Contribution
385+ ## Contribution
370386
371387Unless you explicitly state otherwise, any contribution intentionally submitted
372388for inclusion in this project by you, as defined in the Apache-2.0 license,
0 commit comments