Jest tests are currently organized into main configuration files (src/dev/jest/config.js and x-pack/dev-tools/jest/create_jest_config.js). Both of these are similar, but very slightly due to previously being in separate repositories. This change consolidates the scripts referenced in those configs and moves them to the `@kbn/test` project. OSS contained an alias for `test_utils`. Those aliases have been removed in favor of importing these utilities from `@kbn/test/jest` Blocker to #72569 Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
26 lines
683 B
JSON
26 lines
683 B
JSON
{
|
|
"name": "@kbn/test",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"license": "Apache-2.0",
|
|
"main": "./target/index.js",
|
|
"scripts": {
|
|
"build": "node scripts/build",
|
|
"kbn:bootstrap": "node scripts/build --source-maps",
|
|
"kbn:watch": "node scripts/build --watch --source-maps"
|
|
},
|
|
"kibana": {
|
|
"devOnly": true
|
|
},
|
|
"dependencies": {
|
|
"@kbn/es": "link:../kbn-es",
|
|
"@kbn/i18n": "link:../kbn-i18n",
|
|
"@kbn/optimizer": "link:../kbn-optimizer"
|
|
},
|
|
"devDependencies": {
|
|
"@kbn/babel-preset": "link:../kbn-babel-preset",
|
|
"@kbn/dev-utils": "link:../kbn-dev-utils",
|
|
"@kbn/expect": "link:../kbn-expect",
|
|
"@kbn/utils": "link:../kbn-utils"
|
|
}
|
|
} |