Files
wasm/packages/wasm-crypto/test/asm.js
T
2020-01-06 13:44:06 +01:00

16 lines
460 B
JavaScript

/* eslint-disable @typescript-eslint/no-var-requires */
// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
global.WebAssembly = null;
require('override-require')(
(request) => request === './wasm_asm_stub',
() => require('../build/wasm_asm')
);
const { runUnassisted } = require('./all');
runUnassisted();