Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ jobs:
node-version: '20.x'
- run: npm ci
- run: npm run test:tu
- if: always()
uses: davelosert/vitest-coverage-report-action@v2

types:
runs-on: ubuntu-latest
Expand Down
9 changes: 5 additions & 4 deletions integration/__snapshots__/index.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ exports[`build rollup 1`] = `
"/**
* Super test de la mort qui tue.
* ------------
* \`\`\`js
* const grosToto = 1 * Infinity;
* \`\`\`ts
* const hardCalc = 1 * 1000;
*
* \`\`\`
*/
export declare function mySuperFunction(superArg: string): string;
Expand All @@ -20,13 +21,13 @@ exports[`build rollup 2`] = `
"name": "mySuperDomain",
"files": [
{
"name": "mySuperFunction.mjs"
"name": "index.d.ts"
},
{
"name": "mySuperFunction.d.ts"
},
{
"name": "index.d.ts"
"name": "mySuperFunction.mjs"
}
]
},
Expand Down
4 changes: 2 additions & 2 deletions integration/docs/code.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
### Ignored title

```js
const grosToto = 1 * Infinity;
```ts
{@include example.ts}
```
1 change: 1 addition & 0 deletions integration/docs/example.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
const hardCalc = 1 * 1000;

Check warning on line 1 in integration/docs/example.ts

View workflow job for this annotation

GitHub Actions / lint

'hardCalc' is assigned a value but never used. Allowed unused vars must match /^_/u
Loading