Commit e9ad07b
authored
[test] Add assertion that constructor is a wrapper (#90)
Wasm functions configured as constructors by configureAll are wrapped
(as opposed to mutated in-place) to allow them to be called with `new`.
Add an assertion that the constructor that appears on the JS side is not
pointer-identical with the unwrapped Wasm function.1 parent 97b27bd commit e9ad07b
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
| 441 | + | |
441 | 442 | | |
442 | 443 | | |
443 | 444 | | |
| |||
0 commit comments