added several tests to generalsettings view

This commit is contained in:
2020-07-13 00:44:16 +02:00
parent 24dac2135c
commit 537d869338
5 changed files with 72 additions and 16 deletions

View File

@ -1,7 +1,6 @@
import {shallow, mount} from "enzyme";
import {mount, shallow} from "enzyme";
import React from "react";
import CategoryPage from "./CategoryPage";
import VideoContainer from "../../elements/VideoContainer/VideoContainer";
function prepareFetchApi(response) {
const mockJsonPromise = Promise.resolve(response);