mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 14:35:45 +01:00
fix wrong import of fetch-mock
This commit is contained in:
@@ -42,7 +42,9 @@
|
||||
"gitdiff-parser": "https://github.com/cloudogu/gitdiff-parser#3a72da4a8e3d9bfb4b9e01a43e85628c19f26cc4"
|
||||
},
|
||||
"babel": {
|
||||
"presets": ["@scm-manager/babel-preset"]
|
||||
"presets": [
|
||||
"@scm-manager/babel-preset"
|
||||
]
|
||||
},
|
||||
"jest": {
|
||||
"preset": "@scm-manager/jest-preset",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// @flow
|
||||
import { apiClient, createUrl } from "./apiclient";
|
||||
import {fetchMock} from "fetch-mock";
|
||||
import fetchMock from "fetch-mock";
|
||||
import { BackendError } from "./errors";
|
||||
|
||||
describe("create url", () => {
|
||||
|
||||
Reference in New Issue
Block a user