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:
Caleb Kniffen
2023-11-03 14:20:08 -05:00
parent 88d8a7b73e
commit e8f89db00c
7 changed files with 89 additions and 45 deletions

View 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),
)