wasm-rquickjs-cli 0.4.3

Tool for wrapping JavaScript modules as WebAssembly components using the QuickJS engine
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package quickjs:assert;

world assert {
  export test-ok: func() -> bool;
  export test-equal: func() -> bool;
  export test-strict-equal: func() -> bool;
  export test-deep-equal: func() -> bool;
  export test-deep-strict-equal: func() -> bool;
  export test-throws: func() -> bool;
  export test-does-not-throw: func() -> bool;
  export test-if-error: func() -> bool;
  export test-match: func() -> bool;
  export test-fail: func() -> bool;
  export test-rejects: func() -> bool;
  export test-strict-mode: func() -> bool;
  export test-assertion-error: func() -> bool;
  export test-eval-generated-message: func() -> bool;
}