Skip to content

Commit 770951f

Browse files
committed
fix tests
1 parent 2fed0bf commit 770951f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/block-transformer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "src/index.js",
66
"types": "types/index.d.ts",
77
"scripts": {
8-
"test": "uvu test '.test.([mc]js|[jt]sx?)$' --ignore '**/manual/**'",
8+
"test": "uvu test '.test.([mc]js|[jt]sx?)$'",
99
"build": "pnpm run types",
1010
"types": "tsc --emitDeclarationOnly --outDir types",
1111
"clean": "rimraf types",
File renamed without changes.

packages/block-transformer/test/manual/_yaml-example.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
run: npm test two
4848
## /include ##
4949
50-
## include js src="_test.js" ##
50+
## include js src="_run.js" ##
5151
- name: Run tests two
5252
run: npm test two
5353
## /include ##

packages/core/_tests/fixtures/output/md/transform-remote.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,14 +160,14 @@ md-magic
160160
CLI usage example with options
161161

162162
```bash
163-
md-magic --path '**/*.md' --config ./config.file.js
163+
md-magic --file '**/*.md' --config ./config.file.js
164164
```
165165

166166
In NPM scripts, `npm run docs` would run the markdown magic and parse all the `.md` files in the directory.
167167

168168
```json
169169
"scripts": {
170-
"docs": "md-magic --path '**/*.md'"
170+
"docs": "md-magic --file '**/*.md'"
171171
},
172172
```
173173

0 commit comments

Comments
 (0)