refactor: lint
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
import axios from "axios"
|
||||
import axiosStrategy, { testables, cancelRunningAxiosRequest } from "../AxiosStrategy"
|
||||
import axiosStrategy, {
|
||||
testables,
|
||||
cancelRunningAxiosRequest,
|
||||
} from "../AxiosStrategy"
|
||||
|
||||
jest.mock("../../utils/b64", () => ({
|
||||
__esModule: true,
|
||||
@@ -11,9 +14,9 @@ jest.mock("~/newstore/settings", () => {
|
||||
settingsStore: {
|
||||
value: {
|
||||
PROXY_ENABLED: true,
|
||||
PROXY_URL: "test"
|
||||
}
|
||||
}
|
||||
PROXY_URL: "test",
|
||||
},
|
||||
},
|
||||
}
|
||||
})
|
||||
|
||||
@@ -28,7 +31,6 @@ describe("cancelRunningAxiosRequest", () => {
|
||||
|
||||
describe("axiosStrategy", () => {
|
||||
describe("Proxy Requests", () => {
|
||||
|
||||
test("sends POST request to proxy if proxy is enabled", async () => {
|
||||
let passedURL
|
||||
|
||||
|
||||
Reference in New Issue
Block a user