Commit Graph

35 Commits

Author SHA1 Message Date
29aadc41ea 🧪 Update unit test to directly set preferences and validate file content handling 2026-01-29 03:26:35 +00:00
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
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
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
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
2063c65efd 🔧 Fix import paths in useFeatureFlags unit test file 2026-01-28 22:55:22 +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
6dfe06a412 Simplify arrow function syntax in unit test 2026-01-28 22:16:38 +00:00
26ff87450e 🛠️ Update useAsyncState test to handle operation cancellation with abort signal 2026-01-28 22:16:33 +00:00
c91843d828 🧪 Refactor unit tests for useAsyncState to improve readability and formatting 2026-01-28 22:15:39 +00:00
84ea99c219 Add unit tests for useAsyncState composable 2026-01-28 22:15:34 +00:00