davelopez
|
2237070e3e
|
Replace jest-environment-jsdom with jest-fixed-jsdom
And remove custom polyfills and whatwg-fetch.
Hopefully this would be a more stable testing environment.
|
2024-08-13 13:23:47 +02:00 |
|
Dannon Baker
|
a2685e1df8
|
Drop performance polyfill, no longer necessary
|
2024-08-13 13:23:43 +02:00 |
|
davelopez
|
64cddf5d04
|
Use fake-indexeddb in tests
Fixes:
Error in watcher callback (Promise/async): "MissingAPIError: IndexedDB API missing. Please visit https://tinyurl.com/y2uuvskb"
|
2024-08-13 13:23:42 +02:00 |
|
davelopez
|
290bab3195
|
Fix jest fetch polyfill by using whatwg-fetch
|
2024-08-13 13:23:41 +02:00 |
|
Dannon Baker
|
81e5282988
|
Add performance, readableStream to jsdom
|
2024-08-13 13:23:41 +02:00 |
|
Dannon Baker
|
b3d9fe2b58
|
Annotate globalThis in jest polyfills
|
2024-08-13 13:23:40 +02:00 |
|
davelopez
|
11b2bca270
|
Add jest polyfill for clearImmediate
To avoid the following error:
ReferenceError: clearImmediate is not defined
|
2024-08-13 13:23:30 +02:00 |
|
davelopez
|
0ea851250c
|
Refactor client API and mock server usage
- Fix import side effects
|
2024-08-13 13:23:20 +02:00 |
|
davelopez
|
5e3e4d6642
|
Refactor client API mocks and imports
|
2024-08-13 13:23:19 +02:00 |
|
davelopez
|
877f3e008d
|
Add Mock Service Worker to mock client API responses
All the jest configuration is from:
https://mswjs.io/docs/migrations/1.x-to-2.x#frequent-issues
|
2024-08-13 13:23:18 +02:00 |
|
davelopez
|
bdc51d3d65
|
Remove openapi-typescript-fetch dependency
|
2024-08-13 13:23:17 +02:00 |
|
Marius van den Beek
|
4f20fbffbd
|
Merge pull request #18645 from davelopez/improve_user_types
Improve types around User in schema and client
|
2024-08-06 12:42:20 +02:00 |
|
Dannon Baker
|
679af5fb77
|
Minor refactoring to future proof against ts preset changes
|
2024-08-05 15:18:28 -04:00 |
|
Dannon Baker
|
705603820b
|
Slightly cleaner tsj preset setting, extending the default transform.
|
2024-08-05 15:18:28 -04:00 |
|
Dannon Baker
|
e10ad3ca75
|
Enable verbatimModuleSyntax for ts, override jest
|
2024-08-05 15:18:28 -04:00 |
|
davelopez
|
83c7d0e808
|
Use correct user types in client tests
|
2024-08-05 16:22:49 +02:00 |
|
John Chilton
|
d3991a696b
|
Object Store creation templates.
|
2024-05-20 12:16:02 -04:00 |
|
Laila Los
|
980005f808
|
add mock IntersectionObserver
|
2024-02-26 16:39:19 +01:00 |
|
Dannon
|
64a851c421
|
Merge pull request #17469 from ElectronicBlueberry/tag-autocomplete-rework
Tag Autocomplete Rework
|
2024-02-15 14:16:53 -05:00 |
|
Laila Los
|
d0d0a3c3e1
|
fix test mocks
|
2024-02-14 13:43:04 +01:00 |
|
Alireza Heidari
|
09cf6bb3c6
|
✔️: import short directive in jest helpers
|
2024-02-06 18:15:28 +01:00 |
|
davelopez
|
2da59d8782
|
Remove central Vuex store
|
2024-01-24 11:56:21 +01:00 |
|
Dannon Baker
|
d59c55420e
|
Drop all eventHub usage.
|
2023-11-15 22:08:23 -05:00 |
|
Dannon Baker
|
32b8101774
|
Work around types in test code -- if we really want to do this, we should have a formal interface extension
|
2023-10-22 13:26:22 -04:00 |
|
Dannon Baker
|
dc95410051
|
Jest helper import org.
|
2023-10-22 13:26:22 -04:00 |
|
Dannon Baker
|
d026af5d46
|
Adjust jest imports, explicit jest-globals side effect import
|
2023-10-22 13:26:22 -04:00 |
|
Dannon Baker
|
d5635d3aa6
|
Remove snakecase dep, use lodash instead to trim down lib
|
2023-10-22 13:26:22 -04:00 |
|
Dannon Baker
|
4e07b35c56
|
Swap to updated change-case from snake-case
|
2023-10-22 13:26:22 -04:00 |
|
Dannon Baker
|
f94a4e0e88
|
For jest, axios now needs to be transformed
|
2023-10-22 13:26:22 -04:00 |
|
guerler
|
578781d176
|
Add basic drag/drop tests, adjust file browser behavior
|
2023-09-09 13:38:38 +03:00 |
|
Laila Los
|
b3ebe96b3b
|
jest patch structuredClone
|
2023-08-14 10:29:43 +02:00 |
|
Laila Los
|
74ec2e289d
|
mock userLocalStorage
|
2023-07-06 04:22:47 +02:00 |
|
Dannon Baker
|
d7a619d622
|
Apply export sort, reapply simple-import
|
2023-06-29 17:17:21 -04:00 |
|
Dannon Baker
|
eb05c70f0e
|
Apply group specification for 'internal', mapping our aliases to those
pathgroups.
|
2023-06-29 14:20:06 -04:00 |
|
Dannon Baker
|
bbfd2b64fa
|
Application of basic import/order default configuration
|
2023-06-28 21:48:10 -04:00 |
|
Laila Los
|
6fa8957c66
|
mock hashedUserId
|
2023-05-24 14:29:57 +02:00 |
|
Laila Los
|
5151bb68ca
|
use jsdom-worker instead of mock
|
2023-05-09 16:53:23 +02:00 |
|
Laila Los
|
53b4dc725a
|
relocate and rename mockFetcher files
|
2023-04-27 10:49:55 +02:00 |
|
Laila Los
|
29e30ec0c6
|
add mock fetcher
|
2023-04-25 16:31:21 +02:00 |
|
John Chilton
|
907332e242
|
ShowSelectedObjectStore -> composition, ts
|
2023-03-13 12:53:31 -04:00 |
|
John Chilton
|
46b6d85c67
|
implement preferred object store id
|
2023-02-21 14:18:58 -05:00 |
|
Dannon Baker
|
027f0c0166
|
More test-data cleanup (from qunit)
|
2023-02-14 08:00:06 -05:00 |
|
Dannon Baker
|
69b5d043f8
|
Drop/move remaining qunit tests and materials
|
2023-02-14 07:59:52 -05:00 |
|
Dannon Baker
|
bfc33739d6
|
Update qunit test bundle
|
2023-02-14 07:59:24 -05:00 |
|
Dannon Baker
|
f947d82203
|
Migrate base app tests -- mainly for verification, we need to de-backboneize this model
|
2023-02-14 07:59:24 -05:00 |
|
Dannon Baker
|
16df8df2d2
|
Drop jquery tests
|
2023-02-14 07:59:24 -05:00 |
|
Dannon Baker
|
ce770ed2bd
|
Fix app base tests (prior to converting..)
|
2023-02-14 07:59:24 -05:00 |
|
Dannon Baker
|
fd66b30a9d
|
Drop metrics-logger
|
2023-02-14 07:59:24 -05:00 |
|
Dannon Baker
|
59092bb753
|
Incremental work on metrics logger tests
More work on metrics-logger tests.
|
2023-02-14 07:59:24 -05:00 |
|
Dannon Baker
|
1760d9a965
|
Avoid discovering tests in /dist/ directories. (node_modules was already the default)
|
2023-02-14 07:59:24 -05:00 |
|