2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-05-29 03:00:48 +00:00
nativefier/src/jestSetupFiles.ts
Adam Weeden e664bc6af8
Add playwright integration testing to the app (PR #1397)
This PR allows us to code playwright integration tests that can potentially replace some of our manual tests and allow us automated testing of the app itself.

Current technical limitations:
* No app level keyboard simulation support (e.g, zoom in, zoom out, etc.)
* No code coverage support, so even though we are testing the app, the code coverage does not reflect this fact
2022-04-20 22:03:49 -04:00

10 lines
185 B
TypeScript

import * as log from 'loglevel';
if (process.env.LOGLEVEL) {
log.setLevel(process.env.LOGLEVEL as log.LogLevelDesc);
} else {
log.disableAll();
}
process.traceDeprecation = true;