mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-01-12 17:43:08 +08:00
Hey! I made the following changes: - Replaced Jest by the new Playwright test-runner - Disabled the Jest linting rules for the Playwright e2e tests - Rewrote the tests to the new test-runner - Adjusted `Link.test.ts` which should be less flaky - The tests run now across all three browsers: Chromium, Firefox, and WebKit See here for reference about the new test-runner: https://playwright.dev/docs/test-intro I extracted a fix for Netlify in #9668. Let me know if you have any questions.
37 lines
836 B
JSON
37 lines
836 B
JSON
{
|
|
"extends": "satya164",
|
|
"plugins": ["simple-import-sort"],
|
|
"settings": {
|
|
"react": {
|
|
"version": "16"
|
|
},
|
|
"import/core-modules": [
|
|
"@react-navigation/core",
|
|
"@react-navigation/native",
|
|
"@react-navigation/routers",
|
|
"@react-navigation/stack",
|
|
"@react-navigation/native-stack",
|
|
"@react-navigation/drawer",
|
|
"@react-navigation/bottom-tabs",
|
|
"@react-navigation/material-top-tabs",
|
|
"@react-navigation/material-bottom-tabs",
|
|
"@react-navigation/elements",
|
|
"@react-navigation/devtools"
|
|
]
|
|
},
|
|
"env": {
|
|
"browser": true,
|
|
"node": true
|
|
},
|
|
"rules": {
|
|
"simple-import-sort/imports": "error",
|
|
"simple-import-sort/exports": "error"
|
|
},
|
|
"overrides": [{
|
|
"files":["example/e2e/tests/*.ts"],
|
|
"rules": {
|
|
"jest/*": 0
|
|
}
|
|
}]
|
|
}
|