mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-06-28 14:16:02 +00:00
feat: migrate from jest to vitest
Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
parent
8836085300
commit
1bd0d58702
8 changed files with 1577 additions and 3281 deletions
|
@ -7,6 +7,8 @@ import {
|
|||
findTagFromReleases,
|
||||
} from "../src/github";
|
||||
|
||||
import { describe, it } from "vitest";
|
||||
|
||||
describe("github", () => {
|
||||
describe("mimeOrDefault", () => {
|
||||
it("returns a specific mime for common path", async () => {
|
||||
|
|
|
@ -10,6 +10,8 @@ import {
|
|||
} from "../src/util";
|
||||
import * as assert from "assert";
|
||||
|
||||
import { describe, it, expect } from "vitest";
|
||||
|
||||
describe("util", () => {
|
||||
describe("uploadUrl", () => {
|
||||
it("strips template", () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue