Files
flipper/desktop
Pascal Hartig 39f0fa86cc Fix idb test (#1996)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/1996

Erm, I'm a bit of a dummy. I didn't mock the access check, so it would actually
rely on idb being installed to run the tests correctly. Without, we'd fail like here
on GitHub: https://github.com/facebook/flipper/runs/2021551466

I couldn't quite figure out how to mock `fs.promises.access`, so I made the constructor
configurable, which doesn't seem that bad, actually.

Reviewed By: mweststrate

Differential Revision: D26778428

fbshipit-source-id: 120b8060ad3ccb1cecd8ce2b208733d5e1090a72
2021-03-03 08:06:42 -08:00
..
2021-03-03 08:06:42 -08:00
2021-03-03 04:42:43 -08:00
2021-03-03 04:42:43 -08:00
2021-03-02 01:17:13 -08:00
2021-03-03 06:12:35 -08:00
2021-02-18 08:37:16 -08:00
2021-03-02 01:17:13 -08:00
2020-06-19 03:54:49 -07:00
2020-08-20 13:32:47 -07:00
2021-03-03 06:12:35 -08:00
2021-03-03 04:42:43 -08:00