mirror of
https://github.com/kunkunsh/kunkun.git
synced 2025-04-03 22:26:43 +00:00

* feat: implement pixel dance animation component, page and command * feat: make entire dance page draggable * feat: add dance transition for ui-iframe extension loading
9 lines
337 B
TypeScript
9 lines
337 B
TypeScript
import { expect, test } from "bun:test"
|
|
import { compress, decompress } from "lz-string"
|
|
import { compressString, decompressString } from "../src"
|
|
|
|
test("decompressString", async () => {
|
|
const data = await fetch("https://dance.kunkun.sh/api/data").then((res) => res.text())
|
|
expect(decompressString(compressString(data))).toBe(data)
|
|
})
|