Skip to content

Commit 4e576fb

Browse files
weakishcristianoc
authored andcommitted
Update test script path (.js -> .mjs) in README
1 parent 442b45e commit 4e576fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ We check the validity of our code examples marked with:
9191
Run the checks with:
9292

9393
```sh
94-
node scripts/test-examples.js
94+
node scripts/test-examples.mjs
9595
```
9696

9797
### Markdown Hyperlink Tests
@@ -117,10 +117,10 @@ Here is an example on how to run the tests:
117117

118118
```sh
119119
# Tests all files
120-
node scripts/test-hrefs.js
120+
node scripts/test-hrefs.mjs
121121

122122
# Or just a subset (glob pattern)
123-
node scripts/test-hrefs.js "pages/docs/manual/**/*.mdx"
123+
node scripts/test-hrefs.mjs "pages/docs/manual/**/*.mdx"
124124
```
125125

126126
### Continous Integration

0 commit comments

Comments
 (0)