mirror of
https://github.com/jiahaog/Nativefier
synced 2024-06-27 07:45:03 +02:00
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
10 lines
185 B
TypeScript
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;
|