You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
760 B
38 lines
760 B
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,
|
|
returnsNext,
|
|
spy,
|
|
stub,
|
|
} from "https://deno.land/std@0.203.0/testing/mock.ts";
|
|
|
|
export {
|
|
type Bulk,
|
|
connect,
|
|
type Redis,
|
|
} from "https://deno.land/x/redis@v0.31.0/mod.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,
|
|
returnsNext,
|
|
soxa,
|
|
spy,
|
|
stub,
|
|
};
|