mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-19 19:55:51 +00:00
Update tests to use jasmine compatible functions. This means changing `test` to `it`, `toStrictEqual` to `toEqual` (which is still strict), `toThrowError` to `toError`, and updating the param for toError to pass an `Error` object. Remove the need to specify --single-run.
10 lines
297 B
JavaScript
10 lines
297 B
JavaScript
'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),
|
|
)
|