Commit Graph
12 Commits
Author SHA1 Message Date
Randall Morey 863e81bc01 fix: 🐛 migrate IPC to service-based window for reliable testing
This resolves a longstanding issue where IPC tests rely on the real
window.postMessage and MessageChannel APIs.  These are evented and
asynchronous, resulting in nondeterministic tests.  This commit updates
tests with synchronous mocked APIs.
2021-05-08 12:08:56 -04:00
Susmitha Girumala cc24e5e03e feat: Add node spawn promise wrapper 2020-12-08 10:11:24 -05:00
Randall Morey 77f21f696d feat: 🎸 Ember IPC service rejects when receiving error instance 2020-12-03 15:08:36 -05:00
Susmitha Girumala 08e267fd56 Merge branch 'main' into add-project-to-targets-view 2020-11-12 11:33:24 -05:00
Randall Morey cc091a4cf6 fix: 🐛 postMessage origin should be the current origin 2020-11-12 11:22:24 -05:00
Susmitha Girumala 85ef0915fd chore: Match ui/desktop prettier config to ui/core 2020-11-12 10:33:13 -05:00
Susmitha Girumala 865207c190 chore: Fix lint errors and format 2020-11-11 16:43:49 -05:00
Randall Morey da79a17359 fix: 🐛 IPC post message origin should depend on electron env 2020-11-10 13:32:39 -05:00
Randall Morey 66aeb805f0 test: 💍 add IPCRequest and service tests 2020-11-09 18:18:15 -05:00
Randall Morey 32f986afcf chore: lookup window indirectly 2020-11-09 16:06:03 -05:00
Randall Morey 46c5547b45 docs: tweak example 2020-11-09 15:49:14 -05:00
Randall Morey cc975d221d chore: 🤖 wire up postMessage ipc proxy and Ember ipc service 2020-11-09 15:48:54 -05:00