Joe Previte
ee0973c05a
feat: add logs to serviceWorker
2021-02-26 11:58:29 -07:00
Joe Previte
46226ea26b
chore(testing): add service-worker-mock
2021-02-26 11:58:29 -07:00
Joe Previte
80a180079e
feat: add test for catching errors in Emitter
2021-02-26 11:58:29 -07:00
Joe Previte
b232dcbd4a
feat(register): add test when navigator undefined
2021-02-26 11:58:28 -07:00
Joe Previte
e6a324b484
refactor: update mocking logger in register test
2021-02-26 11:58:28 -07:00
Joe Previte
cb4185b360
refactor: use loggerModule in util
2021-02-26 11:58:28 -07:00
Joe Previte
1c737f1f93
refactor: hoist jest.mock in constants
2021-02-26 11:55:17 -07:00
Joe Previte
1470ff203a
refactor: dont use actual logger in helper
2021-02-26 11:55:17 -07:00
Joe Previte
711abd8d84
refactor: move loggerModule into helpers
2021-02-26 11:55:00 -07:00
Joe Previte
027e8e5adf
refactor: use LogModule from Asher in tests
2021-02-26 11:51:52 -07:00
Joe Previte
a44a51462c
refactor: use same syntax as logger spy
2021-02-26 11:51:52 -07:00
Joe Previte
7ef630f7a4
refactor(register): use logError instead of logger
2021-02-26 11:51:52 -07:00
Joe Previte
38891de0d9
feat(test): add test handleRegisterServiceWorker
2021-02-26 11:51:52 -07:00
Joe Previte
21f577d471
refactor: add handleRegisterServiceWorker fn
2021-02-26 11:51:52 -07:00
Joe Previte
44b9874fbe
feat: test failure to register service worker
2021-02-26 11:51:52 -07:00
Joe Previte
a9f88affa9
refactor: use logger in serviceworker
2021-02-26 11:51:51 -07:00
Joe Previte
06aeca0a83
feat(testing): add register test
2021-02-26 11:51:51 -07:00
Joe Previte
72b05cacac
refactor: create registerServiceWorker fn
2021-02-26 11:51:51 -07:00
Joe Previte
28b440a4ba
feat: add cssStub to jest
2021-02-26 11:51:51 -07:00
Joe Previte
4f1f2c7171
fix: clean up comment in util.test.ts
2021-02-26 11:50:27 -07:00
Joe Previte
63733c31e9
Merge pull request #2779 from cdr/vapurrmaid/chore-doc-structure-links
...
docs(contributing): Update links
2021-02-26 09:33:51 -07:00
Joe Previte
eaee7ed69d
Merge pull request #2762 from cdr/ci-docs-homebrew
...
docs(ci): update release steps with homebrew bump
2021-02-26 09:31:41 -07:00
Joe Previte
99af11ecc3
docs: add homebrew bump to release steps
2021-02-25 16:51:43 -07:00
G r e y
ad89ffaa59
docs(contributing): Update links
2021-02-25 13:55:55 -06:00
G r e y
bf4779991e
docs: Update contributing requirements ( #2775 )
...
Resolves : #2771
2021-02-25 13:09:21 -06:00
G r e y
077af0511e
fix: Responsive Sign In Page ( #2770 )
2021-02-25 13:08:54 -06:00
Asher
a5edbcb6b6
Add reviewer group as a codeowner ( #2777 )
2021-02-25 12:48:03 -06:00
Joe Previte
7dbb72a9c1
Merge pull request #2648 from cdr/e2e-test-go-home
...
feat(testing): add e2e test for 'Go Home' button
2021-02-25 11:21:43 -07:00
G r e y
a2b24321c0
chore: Format docs ( #2774 )
...
See also: #2771
2021-02-25 12:20:44 -06:00
Joe Previte
19e5609c5f
Merge pull request #2715 from cdr/add-tests-emitter
...
feat(testing): add unit tests for emitter
2021-02-23 10:02:00 -07:00
Ben Potter
74d26523d9
Merge pull request #2729 from bpmct/add-heroku-azure
...
docs(install): add Azure and Heroku
2021-02-22 16:21:46 -05:00
Ben
256bd362c2
add awesome-code-server
2021-02-22 15:50:59 -05:00
Joe Previte
325a1d8181
feat: add test for catching errors in Emitter
2021-02-22 13:44:43 -07:00
Joe Previte
e0acb08d94
feat: add basic test for emitter
2021-02-22 13:44:43 -07:00
Asher
47a05c998a
Gate wtfnode behind WTF_NODE env var
...
After thinking about it some more it's probably mostly only useful to
see the output when the tests are hanging. Otherwise there's a lot of
noise about Jest child processes and pipes.
2021-02-22 13:41:12 -07:00
Asher
6685b3a4ff
Move wtfnode setup to global setup
...
I think Jest provides separate console methods for each test so when the
socket tests finish Jest complains that a test keeps trying to output.
2021-02-22 13:41:11 -07:00
Asher
ef7e7271b6
Fix unreadable wtfnode output
2021-02-22 13:41:11 -07:00
Asher
6d4f814f84
Close context before browser
...
This seems to resolve a warning about a process being forcefully exited.
2021-02-22 13:41:11 -07:00
Joe Previte
d61bbc4c4f
refactor(goHome): check url, remove timeout
2021-02-22 13:41:11 -07:00
Joe Previte
b0fd55463b
refactor: add constants.ts with PASSWORD, etc
2021-02-22 13:41:11 -07:00
Joe Previte
5857b25079
chore: add todo regarding storage and cookies e2e
2021-02-22 13:41:10 -07:00
Joe Previte
3fa460c244
refactor: create helpers.ts & add Cookie
2021-02-22 13:41:10 -07:00
Joe Previte
38d7718feb
refactor: use promises for goHome test
2021-02-22 13:41:10 -07:00
Joe Previte
06af8b3202
refactor: update goHome location in test
2021-02-22 13:41:10 -07:00
Joe Previte
d0eece3d8f
refactor: add note to test.sh about --home
2021-02-22 13:41:10 -07:00
Joe Previte
2dc56ad4d7
refactor: manually add cookie goHome
2021-02-22 13:41:10 -07:00
Joe Previte
b02d2fb3cc
feat: add cookie utils for e2e tests
2021-02-22 13:41:10 -07:00
Joe Previte
e077f2d97f
refactor: update test script to check env var
2021-02-22 13:41:09 -07:00
Joe Previte
9e3c8bd93d
feat: add step to upload test videos
2021-02-22 13:41:09 -07:00
Joe Previte
ffdbf3a730
feat: add test/videos & /screenshots to gitignore
2021-02-22 13:41:09 -07:00