mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Merge branch 'release-3.4.1' into modern-tools-dev
# Conflicts: # .github/skills/testing/SKILL.md # package.json
This commit is contained in:
@@ -148,7 +148,7 @@ Place test files next to the module they test using the `*.test.js` naming conve
|
||||
|
||||
### E2E tests (Jest + Playwright)
|
||||
|
||||
End-to-end tests in `tools/modern-tests/` validate that Meteor skeletons and bundler integrations work correctly. They create real Meteor apps, start dev servers, and assert behavior in a headless Chromium browser.
|
||||
End-to-end tests in `tools/e2e-tests/` validate that Meteor skeletons and bundler integrations work correctly. They create real Meteor apps, start dev servers, and assert behavior in a headless Chromium browser.
|
||||
|
||||
```sh
|
||||
# Install dependencies (first time)
|
||||
@@ -161,7 +161,7 @@ npm run test:e2e
|
||||
npm run test:e2e -- -t="React"
|
||||
```
|
||||
|
||||
Each test has a corresponding app fixture in `tools/modern-tests/apps/`. See that directory for examples when adding new E2E tests.
|
||||
Each test has a corresponding app fixture in `tools/e2e-tests/apps/`. See that directory for examples when adding new E2E tests.
|
||||
|
||||
### Self-tests (Meteor tool)
|
||||
|
||||
|
||||
@@ -10,13 +10,13 @@ module.exports = {
|
||||
],
|
||||
testPathIgnorePatterns: [
|
||||
"/node_modules/",
|
||||
"<rootDir>/tools/modern-tests/",
|
||||
"<rootDir>/tools/e2e-tests/",
|
||||
"<rootDir>/tools/tests/",
|
||||
"<rootDir>/packages/",
|
||||
"<rootDir>/.github/",
|
||||
],
|
||||
modulePathIgnorePatterns: [
|
||||
"<rootDir>/tools/modern-tests/",
|
||||
"<rootDir>/tools/e2e-tests/",
|
||||
"<rootDir>/tools/tests/",
|
||||
"<rootDir>/tools/static-assets/",
|
||||
"<rootDir>/npm-packages/",
|
||||
|
||||
Reference in New Issue
Block a user