project restructuring and initial refactoring

This commit is contained in:
Roman committed 2020-06-09 15:14:40 +03:00
1 parent 5af12bdbbd
commit aa0eca2dc4
807 files changed
+11848 -22947

No files matched your search

+4 -4
View File
@@ -1,5 +1,5 @@
import * as mockFs from "mock-fs"
import * as yaml from "js-yaml"
import mockFs from "mock-fs"
import yaml from "js-yaml"
jest.mock("electron", () => {
return {
@@ -14,8 +14,8 @@ jest.mock("electron", () => {
// Console.log needs to be called before fs-mocks, see https://github.com/tschaub/mock-fs/issues/234
console.log("");
import { ClusterStore } from "../../../src/common/cluster-store"
import { Cluster } from "../../../src/main/cluster"
import { ClusterStore } from "../../../common/cluster-store"
import { Cluster } from "../../../main/cluster"
describe("for an empty config", () => {
beforeEach(() => {
+2 -4
View File
@@ -1,5 +1,5 @@
import * as mockFs from "mock-fs"
import * as yaml from "js-yaml"
import mockFs from "mock-fs"
import { userStore, UserStore } from "../../../common/user-store"
jest.mock("electron", () => {
return {
@@ -14,8 +14,6 @@ jest.mock("electron", () => {
// Console.log needs to be called before fs-mocks, see https://github.com/tschaub/mock-fs/issues/234
console.log("");
import { userStore, User, UserPreferences, UserStore } from "../../../src/common/user-store"
describe("for an empty config", () => {
beforeEach(() => {
UserStore.resetInstance()