mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-04 13:05:49 +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.
15 lines
349 B
JavaScript
15 lines
349 B
JavaScript
const { merge } = require('webpack-merge')
|
|
const { webpackForTest } = require('../../../weback.test.config')
|
|
|
|
module.exports = merge(
|
|
require('../webpack.base.config'),
|
|
webpackForTest('./test/integration/index.ts', __dirname),
|
|
{
|
|
externals: [
|
|
{
|
|
net: 'null', // net is used in tests to setup mock server
|
|
},
|
|
],
|
|
},
|
|
)
|