Commit Graph

61 Commits

Author SHA1 Message Date
b0ad499b7e 🧪 Simplify and improve test cases for expandDisplayLinesToInclude in useGamemasterFiles composable 2026-01-29 03:26:20 +00:00
c99fdec60d 🔧 Simplify and refactor test for large file handling by replacing mocked data with manual line array setup 2026-01-29 03:26:15 +00:00
69354f5b71 Refactor test to verify successful file loading and content handling instead of error handling 2026-01-29 03:26:10 +00:00
9254bf2f80 🔄 Update test data structure in useGamemasterFiles to use objects instead of plain text for large file simulation 2026-01-29 03:24:48 +00:00
9b4b418724 🔧 Update tests to handle large JSON data and improve file loading error handling 2026-01-29 03:24:38 +00:00
a34468275f 🧪 Improve test by adding setup for available files before simulating load failure 2026-01-29 03:24:33 +00:00
a69ebafb2c 🧪 Update test to handle large file content and improve line expansion logic 2026-01-29 03:24:03 +00:00
c7696eb4bb Improve test for setting correct line numbers by adding line generation and conditional checks 2026-01-29 03:23:53 +00:00
2f636ab08d 🧪 Update test to use large string content instead of object for large file handling 2026-01-29 03:23:48 +00:00
a92c49b178 🔧 Fix error handling and update test logic for loading moves in useGamemasterFiles test 2026-01-29 03:23:38 +00:00
6f72715726 🧪 Simplify unit test by removing unnecessary mock data and adding a prerequisite function call 2026-01-29 03:23:25 +00:00
619aab0309 🧹 Simplify test code by condensing multi-line statements into single lines where applicable 2026-01-29 03:21:14 +00:00
e1bf447c21 Add unit tests for useGamemasterFiles composable 2026-01-29 03:20:51 +00:00
98b0d9b298 🧹 Remove unnecessary whitespace in unit test file 2026-01-29 03:18:57 +00:00
b5a78e5283 🧪 Refactor unit tests to improve clarity and ensure proper handling of debounced search and clearing results 2026-01-29 03:18:52 +00:00
069ac1cea2 🧪 Refactor unit tests for executeSearch to separate query setting and result clearing logic 2026-01-29 03:18:47 +00:00
5bfe7c6078 Improve regex escaping logic in unit test for special characters 2026-01-29 03:18:36 +00:00
3c7e84b21a Add unit tests for Gamemaster search composable 2026-01-29 03:18:32 +00:00
03bf0f38d6 Add unit tests for router guards to verify route protection with authentication and feature flags 2026-01-29 02:07:47 +00:00
f31e5f8840 Add unit tests for router guards to improve coverage and reliability 2026-01-29 02:07:42 +00:00
fcc734a9bc Add unit tests for FeatureFlag component to ensure proper functionality 2026-01-29 02:07:25 +00:00
90159b2055 🧹 Remove unnecessary whitespace in unit tests for useFeatureFlags 2026-01-28 23:00:20 +00:00
ecf7e1f316 Add unit tests for feature flag composable 2026-01-28 23:00:15 +00:00
d77706be9f 🧹 Remove unit tests for useFeatureFlags composable 2026-01-28 23:00:05 +00:00
622cec5e2d 🧹 Remove unnecessary whitespace in unit tests for useFeatureFlags 2026-01-28 22:59:39 +00:00
6ec72ff36f Add unit tests for feature flag composable 2026-01-28 22:59:34 +00:00
d9d0de243d 🧹 Remove unnecessary whitespace in unit tests for DeveloperTools component 2026-01-28 22:59:24 +00:00
d94ad418c8 🧪 Simplify DeveloperTools tests by removing complex DOM interactions and redundant test cases, while adding mocks and focusing on core functionality 2026-01-28 22:59:19 +00:00
bb344d4096 🔧 Refactor environment mocking and component stubs in DeveloperTools unit tests 2026-01-28 22:58:05 +00:00
77da2ef580 🔧 Refactor test setup to use vi.spyOn for mocking useAuth module instead of direct mock replacement 2026-01-28 22:57:55 +00:00
50664739fe 🔧 Update import paths in DeveloperTools unit test for correct module resolution 2026-01-28 22:55:32 +00:00
2063c65efd 🔧 Fix import paths in useFeatureFlags unit test file 2026-01-28 22:55:22 +00:00
d3ac20f9fa 🧪 Add unit tests for DeveloperTools component 2026-01-28 22:54:40 +00:00
cf106cd5f3 Refactor unit tests for useFeatureFlags to improve readability, consistency, and formatting 2026-01-28 22:54:28 +00:00
338ee1f750 Add unit tests for feature flag composable 2026-01-28 22:54:23 +00:00
42f9acc4fa 🧹 Remove unnecessary whitespace in useAuth composable unit tests 2026-01-28 22:48:55 +00:00
8f06e50820 Add unit tests for authentication composable 2026-01-28 22:48:50 +00:00
d3c6f45757 Add unit tests for AdminLogin view to improve test coverage 2026-01-28 22:48:45 +00:00
0c0cc33e1e 🗑️ Remove unit tests for JWT utility functions 2026-01-28 22:48:35 +00:00
74f0e1e252 🛠️ Simplify code formatting and improve consistency in API client and JWT utilities tests 2026-01-28 22:48:11 +00:00
e51d484083 🛠️ Add default header management methods to API client 2026-01-28 22:48:06 +00:00
3ae5a93e57 🗑️ Remove integration tests for ApiKeyManager and GamemasterManager components 2026-01-28 22:44:40 +00:00
177ae5c60d 🎨 Reformat test code for improved readability and consistency 2026-01-28 22:42:22 +00:00
d782eba3b4 🔑 Add integration tests for API key management 2026-01-28 22:42:16 +00:00
35e9a97708 🧹 Remove unnecessary whitespace in BaseModal unit tests 2026-01-28 22:25:42 +00:00
fa8286fa54 🧪 Improve BaseModal test to handle timing-dependent overflow checks and verify cleanup 2026-01-28 22:25:37 +00:00
5eb704af2d 🧪 Improve BaseModal unit test to handle timing-dependent overflow behavior 2026-01-28 22:25:31 +00:00
bf38a226fc 🧪 Add missing nextTick call in BaseModal unit test to ensure proper DOM updates 2026-01-28 22:25:15 +00:00
61fe7c6594 🧪 Add additional nextTick calls in BaseModal unit tests to ensure proper DOM updates 2026-01-28 22:25:10 +00:00
155a3d3985 🧪 Update BaseModal test to verify element existence instead of active focus due to JSDOM limitations 2026-01-28 22:25:00 +00:00