| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent c232542 commit caa59b9
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,10 +1,11 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | 2 | ||
| 3 | - require('../common'); | ||
| 4 | - | ||
| 3 | + const common = require('../common'); | ||
| 5 | 4 | const assert = require('assert'); | |
| 6 | 5 | const fixtures = require('../common/fixtures'); | |
| 7 | 6 | ||
| 7 | + common.crashOnUnhandledRejection(); | ||
| 8 | + | ||
| 8 | 9 | const buffer = fixtures.readSync('test.wasm'); | |
| 9 | 10 | ||
| 10 | 11 | assert.ok(WebAssembly.validate(buffer), 'Buffer should be valid WebAssembly'); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments