mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-06 17:27:59 +00:00
test: run ripple-keypairs tests in the browser (#2558)
- Update tests to use jasmine compatible functions. This means removing `toThrowErrorMatchingInlineSnapshot` and manually removing indention to compare some of the complexly formatted error messages. - Remove usages of `assert` library in keypairs tests.
This commit is contained in:
9
packages/ripple-keypairs/test/webpack.config.js
Normal file
9
packages/ripple-keypairs/test/webpack.config.js
Normal file
@@ -0,0 +1,9 @@
|
||||
'use strict'
|
||||
const { merge } = require('webpack-merge')
|
||||
const { webpackForTest } = require('../../../weback.test.config')
|
||||
const { getDefaultConfiguration } = require('../../../webpack.config')
|
||||
|
||||
module.exports = merge(
|
||||
getDefaultConfiguration(),
|
||||
webpackForTest('./test/index.ts', __dirname),
|
||||
)
|
||||
Reference in New Issue
Block a user