Skip to content

Commit

Permalink
feat(dep): bump up unified to 11
Browse files Browse the repository at this point in the history
  • Loading branch information
craftzdog committed Mar 6, 2024
1 parent f3ed4a3 commit 6a56dc8
Show file tree
Hide file tree
Showing 6 changed files with 1,172 additions and 1,040 deletions.
4 changes: 2 additions & 2 deletions __tests__/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { html2Markdown } from '../src/'
import { html2Markdown, parseMarkdown } from '../src/'
import fs from 'fs'
import dedent from 'dedent'
import path from 'path'
Expand Down Expand Up @@ -178,7 +178,6 @@ test('file 2', () => {
## 今日やったこと
- [x] Bash on Windowsを触る
- Windowsを最新版 1903 にアップデート
## 明日どうするか\n`)
Expand Down Expand Up @@ -224,6 +223,7 @@ test('ignore comments', () => {
<!-- this is a comment -->
world
`
const p = parseMarkdown(html)

Check failure on line 226 in __tests__/index.test.ts

View workflow job for this annotation

GitHub Actions / build (20.x)

'p' is assigned a value but never used. Allowed unused vars must match /^_/u
const md = html2Markdown(html)
expect(typeof md).toBe('string')
expect(md).toBe('hello world\n')
Expand Down
Loading

0 comments on commit 6a56dc8

Please sign in to comment.