Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,5 +133,5 @@ jobs:
working-directory: packages/openslides-motion-diff/

- name: Build and run karma tests
run: npm run test-silently -- --browsers=ChromiumHeadlessNoSandbox
run: npm run test-silently
working-directory: client/
101 changes: 40 additions & 61 deletions client/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@
"base": "dist/client"
},
"index": "src/index.html",
"polyfills": [
"src/polyfills.ts"
],
"polyfills": ["src/polyfills.ts"],
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
Expand All @@ -46,19 +44,13 @@
"output": "/pdfjs/"
}
],
"styles": [
"src/styles.scss"
],
"scripts": [
"src/assets/jitsi/external_api.js"
],
"styles": ["src/styles.scss"],
"scripts": ["src/assets/jitsi/external_api.js"],
"webWorkerTsConfig": "tsconfig.worker.json",
"serviceWorker": "ngsw-config.json",
"browser": "src/main.ts",
"stylePreprocessorOptions": {
"includePaths": [
"."
]
"includePaths": ["."]
}
},
"configurations": {
Expand Down Expand Up @@ -92,6 +84,13 @@
"aot": true,
"statsJson": false,
"progress": false
},
"testing": {
"aot": false,
"optimization": false,
"extractLicenses": false,
"assets": ["src/favicon.ico", "src/assets", "src/manifest.webmanifest"],
"scripts": []
}
},
"defaultConfiguration": "production"
Expand All @@ -115,35 +114,17 @@
}
},
"test": {
"builder": "@angular/build:karma",
"builder": "@angular/build:unit-test",
"options": {
"main": "src/test.ts",
"polyfills": [
"src/polyfills.ts"
],
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
"inlineStyleLanguage": "scss",
"assets": [
"src/favicon.ico",
"src/assets",
"src/manifest.webmanifest"
],
"styles": [
"src/styles.scss"
],
"scripts": [],
"webWorkerTsConfig": "tsconfig.worker.json",
"sourceMap": false
"runner": "vitest",
"buildTarget": "::development"
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"src/**/*.ts",
"src/**/*.html"
]
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
}
}
}
Expand All @@ -155,35 +136,33 @@
"path": ".angular/.cache",
"environment": "all"
},
"schematicCollections": [
"@angular-eslint/schematics"
],
"schematicCollections": ["@angular-eslint/schematics"],
"analytics": false
},
"schematics": {
"@schematics/angular:component": {
"type": "component"
},
"@schematics/angular:directive": {
"type": "directive"
},
"@schematics/angular:service": {
"type": "service"
},
"@schematics/angular:guard": {
"typeSeparator": "."
},
"@schematics/angular:interceptor": {
"typeSeparator": "."
},
"@schematics/angular:module": {
"typeSeparator": "."
},
"@schematics/angular:pipe": {
"typeSeparator": "."
},
"@schematics/angular:resolver": {
"typeSeparator": "."
}
"@schematics/angular:component": {
"type": "component"
},
"@schematics/angular:directive": {
"type": "directive"
},
"@schematics/angular:service": {
"type": "service"
},
"@schematics/angular:guard": {
"typeSeparator": "."
},
"@schematics/angular:interceptor": {
"typeSeparator": "."
},
"@schematics/angular:module": {
"typeSeparator": "."
},
"@schematics/angular:pipe": {
"typeSeparator": "."
},
"@schematics/angular:resolver": {
"typeSeparator": "."
}
}
}
4 changes: 3 additions & 1 deletion client/cli/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
"compilerOptions": {
"baseUrl": "../",
"module": "commonjs",
"types": ["node"],
"paths": {
"*": ["*"]
}
},
"rootDir": ".."
}
}
4 changes: 1 addition & 3 deletions client/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import angular from "angular-eslint";
import prettier from "eslint-plugin-prettier/recommended";
import eslintConfigPrettier from "eslint-config-prettier";
import simpleImportSort from "eslint-plugin-simple-import-sort";
import unusedImports from "eslint-plugin-unused-imports";
import stylistic from "@stylistic/eslint-plugin";
import eslintPluginPrettier from "eslint-plugin-prettier/recommended";

Expand All @@ -28,10 +27,10 @@ export default tseslint.config({
plugins: {
"@stylistic": stylistic,
"simple-import-sort": simpleImportSort,
"unused-imports": unusedImports,
},
processor: angular.processInlineTemplates,
rules: {
"@angular-eslint/prefer-on-push-component-change-detection": ["off"],
"@angular-eslint/prefer-standalone": ["off"],
"@angular-eslint/prefer-inject": ["off"],
"@angular-eslint/component-selector": ["error", {
Expand Down Expand Up @@ -70,7 +69,6 @@ export default tseslint.config({

"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"unused-imports/no-unused-imports": "error",

"no-restricted-properties": ["error", {
property: "asObservable",
Expand Down
61 changes: 61 additions & 0 deletions client/jasmine-vitest-20260709T135139738Z.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Jasmine to Vitest Refactoring Report

Date: 2026-07-09T13:51:39.738Z

## Summary

| | Count |
| :---------------- | ----: |
| Files Scanned | 382 |
| Files Transformed | 347 |
| Files Skipped | 35 |
| Total TODOs | 16 |

## TODO Overview

| Category | Count |
| :---------------------------- | ----: |
| toBePending | 11 |
| createSpyObj-dynamic-variable | 5 |

## Files Requiring Manual Attention

### [`src/app/infrastructure/utils/promises/deferred.spec.ts`](./src/app/infrastructure/utils/promises/deferred.spec.ts)

- [L8](./src/app/infrastructure/utils/promises/deferred.spec.ts#L8): toBePending

### [`src/app/infrastructure/utils/promises/mutex.spec.ts`](./src/app/infrastructure/utils/promises/mutex.spec.ts)

- [L10](./src/app/infrastructure/utils/promises/mutex.spec.ts#L10): toBePending

### [`src/app/site/pages/meetings/services/main-menu.service.spec.ts`](./src/app/site/pages/meetings/services/main-menu.service.spec.ts)

- [L51](./src/app/site/pages/meetings/services/main-menu.service.spec.ts#L51): toBePending

### [`src/app/site/services/theme.service.spec.ts`](./src/app/site/services/theme.service.spec.ts)

- [L17](./src/app/site/services/theme.service.spec.ts#L17): createSpyObj-dynamic-variable
- [L18](./src/app/site/services/theme.service.spec.ts#L18): createSpyObj-dynamic-variable
- [L19](./src/app/site/services/theme.service.spec.ts#L19): createSpyObj-dynamic-variable
- [L21](./src/app/site/services/theme.service.spec.ts#L21): createSpyObj-dynamic-variable
- [L24](./src/app/site/services/theme.service.spec.ts#L24): createSpyObj-dynamic-variable

### [`src/app/ui/modules/list/services/list-search.service.spec.ts`](./src/app/ui/modules/list/services/list-search.service.spec.ts)

- [L82](./src/app/ui/modules/list/services/list-search.service.spec.ts#L82): toBePending
- [L89](./src/app/ui/modules/list/services/list-search.service.spec.ts#L89): toBePending

### [`src/app/worker/http/http-stream.spec.ts`](./src/app/worker/http/http-stream.spec.ts)

- [L138](./src/app/worker/http/http-stream.spec.ts#L138): toBePending
- [L145](./src/app/worker/http/http-stream.spec.ts#L145): toBePending
- [L160](./src/app/worker/http/http-stream.spec.ts#L160): toBePending
- [L189](./src/app/worker/http/http-stream.spec.ts#L189): toBePending

### [`src/app/worker/http/http-subscription-polling.spec.ts`](./src/app/worker/http/http-subscription-polling.spec.ts)

- [L87](./src/app/worker/http/http-subscription-polling.spec.ts#L87): toBePending

### [`src/app/worker/http/http-subscription-sse.spec.ts`](./src/app/worker/http/http-subscription-sse.spec.ts)

- [L93](./src/app/worker/http/http-subscription-sse.spec.ts#L93): toBePending
53 changes: 0 additions & 53 deletions client/karma.conf.js

This file was deleted.

Loading
Loading