1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/main/__test__
Sebastian Malton 86ac417cab
Upgrade to latest node-fetch (#6046)
* Upgrade to latest node-fetch

- Introduce injection tokens for retriving the implementation of
  node-fetch via await import() calls

- Add webpack file for compiling node-fetch to electron-renderer single
  file format

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Update lock file

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Add type packages which were removed for some reason

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Add more dev @types deps that weren't added last time

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Simpify by using webpack to create a commonjs package

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix build for integration tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix unit tests on CI not having all deps

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Revert accidental timeout change

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Replace manually specifying nodeJS externals with preset

Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-11-14 10:46:53 -05:00
..
cluster.test.ts Replace jest.mock's with overriding dependencies (#6014) 2022-08-23 13:04:00 +03:00
context-handler.test.ts Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
kube-auth-proxy.test.ts Replace jest.mock's with overriding dependencies (#6014) 2022-08-23 13:04:00 +03:00
kubeconfig-manager.test.ts Making apiBase injectable (#6022) 2022-10-05 08:10:36 -04:00
lens-proxy.test.ts Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
shell-session.test.ts Fix windows shell not having all environment variables (#6402) 2022-10-13 07:49:58 -04:00
static-file-route.test.ts Upgrade to latest node-fetch (#6046) 2022-11-14 10:46:53 -05:00