mirror of
https://github.com/andrei0x309/clear-wallet.git
synced 2025-02-02 14:50:44 +00:00
16 lines
405 B
TypeScript
16 lines
405 B
TypeScript
import { expect, test } from "bun:test";
|
|
import { getLastChangeLog } from '../create-release';
|
|
|
|
|
|
let testOrSkip: typeof test | typeof test.skip;
|
|
|
|
const testEnabled = {
|
|
"getLastLog": true,
|
|
}
|
|
|
|
testOrSkip = testEnabled.getLastLog ? test : test.skip;
|
|
|
|
testOrSkip("getLastChangeLog", async () => {
|
|
const lastChangeLog = await getLastChangeLog();
|
|
expect(lastChangeLog.length).toBeGreaterThan(0);
|
|
}); |