mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 21:45:31 +09:00
chore(repo): prune dead code and duplicate abstractions (#3413)
This commit is contained in:
1 parent
c17091768c
commit
c9fdf8fead
2937 files changed
+42233
-176793
No files matched your search
@@ -38,14 +38,7 @@ const MODULE_REGISTRY_TEST_FILES = [
|
||||
|
||||
const INSTANCE_POLICY_TEST_FILES = ['src/api/admin/tests/InstanceConfigPendingRegistrationApproval.test.ts'];
|
||||
|
||||
const sharedExclude = [
|
||||
...configDefaults.exclude,
|
||||
'pkgs/**',
|
||||
'../fluxer_desktop/**',
|
||||
'**/target/**',
|
||||
'**/*Integration.test.ts',
|
||||
'**/*ExttestIntegration.test.ts',
|
||||
];
|
||||
const sharedExclude = [...configDefaults.exclude, 'pkgs/**', '../fluxer_desktop/**', '**/target/**'];
|
||||
|
||||
const sharedTestConfig = {
|
||||
globals: true,
|
||||
@@ -67,19 +60,7 @@ export default defineConfig({
|
||||
fileParallelism: true,
|
||||
reporters: ['default', 'json'],
|
||||
outputFile: './test-results.json',
|
||||
coverage: {
|
||||
provider: 'v8',
|
||||
reporter: ['text', 'text-summary', 'json', 'html'],
|
||||
reportsDirectory: './coverage',
|
||||
exclude: [
|
||||
'**/node_modules/tests/test*.test.tsx',
|
||||
'**/*.test.ts',
|
||||
'**/Setup.tsx',
|
||||
'**/TestConstants.tsx',
|
||||
'**/TestRequestBuilder.tsx',
|
||||
'**/TestHelpers.tsx',
|
||||
],
|
||||
},
|
||||
|
||||
projects: [
|
||||
{
|
||||
resolve: {tsconfigPaths: true},
|
||||
|
||||
Reference in new issue
Block a user