Skip to content

build: refactor build setup to develop without 'obsidian-plugin-cli' #80

build: refactor build setup to develop without 'obsidian-plugin-cli'

build: refactor build setup to develop without 'obsidian-plugin-cli' #80

GitHub Actions / Test Results succeeded Aug 24, 2024 in 0s

All 22 tests pass in 0s

22 tests  ±0   22 ✅ ±0   0s ⏱️ ±0s
 3 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit e2c6e77. ± Comparison against earlier commit 454b358.

Annotations

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results

22 tests found

There are 22 tests, see "Raw output" for the full list of tests.
Raw output
test/markdown-image-parsing.test.ts ‑ findImgurMarkdownImage > GIVEN line ''![](https://i.imgur.com/m3RpPCV.png)'' and cursor pos: +0
test/markdown-image-parsing.test.ts ‑ findImgurMarkdownImage > GIVEN line ''![](https://i.imgur.com/m3RpPCV.png)'' and cursor pos: 35
test/markdown-image-parsing.test.ts ‑ findImgurMarkdownImage > GIVEN line ''![](https://i.imgur.com/m3RpPCVm.png)'' and cursor pos: +0
test/markdown-image-parsing.test.ts ‑ findImgurMarkdownImage > does not match an image when cursor position is after an image
test/markdown-image-parsing.test.ts ‑ findImgurMarkdownImage > matches 2nd image when cursor is between the 1st and second one
test/markdown-image-parsing.test.ts ‑ findImgurMarkdownImage > matches an image when cursor position is set to last character of image
test/markdown-image-parsing.test.ts ‑ findImgurMarkdownImage > throws error for images with unexpected length of image id > GIVEN line ''![](https://i.imgur.com/m3RpPC.png)'' an error reporting incorrect image id size will be thrown
test/markdown-image-parsing.test.ts ‑ findImgurMarkdownImage > throws error for images with unexpected length of image id > GIVEN line ''![](https://i.imgur.com/m3RpPCVsm.png)'' an error reporting incorrect image id size will be thrown
test/markdown-image-parsing.test.ts ‑ isWrapped type predicate > correctly detects wrapped image
test/markdown-image-parsing.test.ts ‑ isWrapped type predicate > treats simple image as not-wrapped
test/multipart-request.test.ts ‑ buildMultipartBody > creates expected result for File part
test/multipart-request.test.ts ‑ buildMultipartBody > creates expected result for multiple form data text fields
test/resizing.test.ts ‑ resizeTo > can resize already resized image
test/resizing.test.ts ‑ resizeTo > provides correct range to be replaced
test/resizing.test.ts ‑ resizeTo > resizes ''resized image'' to original size
test/resizing.test.ts ‑ resizeTo > resizes ''wrapped resized image'' to original size
test/resizing.test.ts ‑ resizeTo > resizes an image to 'ImgurSize{ suffix: 'b', …(2) }' as expected
test/resizing.test.ts ‑ resizeTo > resizes an image to 'ImgurSize{ suffix: 'h', …(2) }' as expected
test/resizing.test.ts ‑ resizeTo > resizes an image to 'ImgurSize{ suffix: 'l', …(2) }' as expected
test/resizing.test.ts ‑ resizeTo > resizes an image to 'ImgurSize{ suffix: 'm', …(2) }' as expected
test/resizing.test.ts ‑ resizeTo > resizes an image to 'ImgurSize{ suffix: 's', …(2) }' as expected
test/resizing.test.ts ‑ resizeTo > resizes an image to 'ImgurSize{ suffix: 't', …(2) }' as expected