mirror of
https://github.com/appium/appium.git
synced 2026-10-23 09:09:16 +08:00
70d88cb86f
- `@appium/test-support` now exports the e2e setup for plugins, and e2e/unit suites for drivers from base-driver. it also generates declarations. - `appium` exports this as `appium/test`. - The `capability.spec.js` unit test for basedriver now avoids spying on the "global" logger, due to test flake. It now spies directly on the function which calls the global logger. (@mykola_mokhnach) - removed homebrew ansi-stripping code from `test-support` and replaced with `@colors/colors` - type fixes and refactors for `@appium/test-support` - type fixes for `appium` - simplify `lib/index.js` of `@appium/base-driver`
33 lines
528 B
JSON
33 lines
528 B
JSON
{
|
|
"presets": [
|
|
[
|
|
"@babel/preset-env",
|
|
{
|
|
"targets": {
|
|
"node": "14"
|
|
},
|
|
"shippedProposals": true
|
|
}
|
|
]
|
|
],
|
|
"plugins": ["source-map-support", "@babel/plugin-transform-runtime"],
|
|
"comments": false,
|
|
"sourceMaps": "both",
|
|
"env": {
|
|
"coverage": {
|
|
"plugins": [
|
|
[
|
|
"istanbul",
|
|
{
|
|
"exclude": ["test", "build"]
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"test": {
|
|
"retainLines": true,
|
|
"comments": true
|
|
}
|
|
}
|
|
}
|