Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Chore: remove some tsconfig and jest stuff

shamoon5f7c60d9a1de
diff --git a/src-ui/.eslintrc.json b/src-ui/.eslintrc.json
index 37f9c7c12..b8eaf6f85 100644
--- a/src-ui/.eslintrc.json
+++ b/src-ui/.eslintrc.json
@@ -11,8 +11,7 @@
],
"parserOptions": {
"project": [
- "tsconfig.json",
- "e2e/tsconfig.json"
+ "tsconfig.json"
],
"createDefaultProgram": true
},
diff --git a/src-ui/test-config.helper.ts b/src-ui/test-config.helper.ts
deleted file mode 100644
index f38cdfb26..000000000
--- a/src-ui/test-config.helper.ts
+++ /dev/null
@@ -1,24 +0,0 @@
-import { TestBed } from '@angular/core/testing'
-
-type CompilerOptions = Partial<{
- providers: any[]
- useJit: boolean
- preserveWhitespaces: boolean
-}>
-export type ConfigureFn = (testBed: typeof TestBed) => void
-
-export const configureTests = (
- configure: ConfigureFn,
- compilerOptions: CompilerOptions = {}
-) => {
- const compilerConfig: CompilerOptions = {
- preserveWhitespaces: false,
- ...compilerOptions,
- }
-
- const configuredTestBed = TestBed.configureCompiler(compilerConfig)
-
- configure(configuredTestBed)
-
- return configuredTestBed.compileComponents().then(() => configuredTestBed)
-}