16 lines
633 B
TypeScript
16 lines
633 B
TypeScript
import { describe, expect, it } from "vite-plus/test";
|
|
import {
|
|
DEFAULT_ANDROID_APK_REPOSITORY_URL,
|
|
resolveAndroidApkRepository,
|
|
} from "./android-apk-release.ts";
|
|
|
|
describe("Android APK release source", () => {
|
|
it("bakes this fork's public release API into Android builds", () => {
|
|
expect(DEFAULT_ANDROID_APK_REPOSITORY_URL).toBe("https://git.molberg.cloud/alex/t3code");
|
|
expect(resolveAndroidApkRepository(DEFAULT_ANDROID_APK_REPOSITORY_URL)).toEqual({
|
|
releasesUrl: "https://git.molberg.cloud/alex/t3code/releases",
|
|
apiUrl: "https://git.molberg.cloud/api/v1/repos/alex/t3code/releases",
|
|
});
|
|
});
|
|
});
|