Skip to content

Commit 340e28a

Browse files
committed
Fixed testing issues
1 parent e640795 commit 340e28a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import Resource from "./Resource";
22
import { addRequest, addResponse } from "./Config";
33

4+
export * from "./Config";
5+
46
export const interceptors = {
57
addRequest,
68
addResponse,

tests/index.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { getConfig } from "../src/Config";
2-
import api from "../src/index";
2+
import * as api from "../src/index";
33

44
const BASE_CONFIG = {
55
baseURL: "https://axe-api.com/api/v1", // NOSONAR

0 commit comments

Comments
 (0)