github-profile-trophy-reiyu.../deps.ts
Alexandro Castro 5dc3379214
Improvements on workflow and files (#222)
* chore: improvements

* chore: add testing workflow

* fix: types and lint

* chore: change dynamic

* chore: improvements

* chore: no need repository to check status
2023-09-30 01:54:23 +09:00

21 lines
604 B
TypeScript

import { Soxa as ServiceProvider } from "https://deno.land/x/soxa@1.4/src/core/Soxa.ts";
import { defaults } from "https://deno.land/x/soxa@1.4/src/defaults.ts";
import {
assertEquals,
assertRejects,
} from "https://deno.land/std@0.203.0/assert/mod.ts";
import {
assertSpyCalls,
spy,
} from "https://deno.land/std@0.203.0/testing/mock.ts";
import { CONSTANTS } from "./src/utils.ts";
const baseURL = Deno.env.get("GITHUB_API") || CONSTANTS.DEFAULT_GITHUB_API;
const soxa = new ServiceProvider({
...defaults,
baseURL,
});
export { assertEquals, assertRejects, assertSpyCalls, soxa, spy };