Files
wasm/packages/wasm-crypto/test/asm.js
T
Jaco Greeff c6135e28d4 2.0 (#133)
* 2.0

* prerelease

* Bumps

* CHANGELOG

* Don't init with no WASM bytes

* {asm,bytes}-empty

* asm-empty import

* WasmCryptoInstance
2020-11-03 08:46:57 +01:00

14 lines
319 B
JavaScript

// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
global.WebAssembly = null;
require('override-require')(
(request) => request.endsWith('wasm/asm-empty'),
() => require('../build/wasm/asm')
);
const { runUnassisted } = require('./all');
runUnassisted();