Skip to content

Commit 155b6da

Browse files
woodroofgithub-actions[bot]
authored andcommitted
Fixed GL JS documentation about running render tests
GitOrigin-RevId: 2359690a2737a8f41c9694736e5c9697c040c2e7
1 parent 91c66aa commit 155b6da

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ npx playwright install chromium
1717
To run individual tests:
1818
- Unit tests: `npm run test-unit -- path/to/file.test.js`
1919
- e.g. `npm run test-unit -- test/unit/ui/handler/scroll_zoom.test.js`
20-
- Render tests: `npm run test-render -- -t "render-tests/render-test-name"` where the `render-test-name` can be any substring in the `test/integration/render-tests/` subdirectories
21-
- e.g. `npm run test-render -- -t "render-tests/background-color/default"` or `npm run test-render -- -t "render-tests/line"`
20+
- Render tests: `npm run test-render -- -t "render-test-name"` where the `render-test-name` can be any substring in the `test/integration/render-tests/` subdirectories
21+
- e.g. `npm run test-render -- -t "background-color/default"` or `npm run test-render -- -t "line"`
2222

2323
See [`test/integration/README.md#running-specific-tests`](./integration/README.md#running-specific-tests) and [Vitest documentation](https://vitest.dev/guide/cli.html#testnamepattern).
2424

test/integration/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ During a test run, the test harness will use Mapbox GL JS to create an `actual.p
6868
After the test(s) have run, you can view the render test results in
6969

7070
```
71-
open ./test/integration/render-tests/vitest/render-tests.html
71+
open ./test/integration/render-tests/render-tests.html
7272
```
7373

7474
or for query tests in:

0 commit comments

Comments
 (0)