We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50cdb22 commit ebb90cfCopy full SHA for ebb90cf
test/helpers/selenium-helper.js
@@ -8,7 +8,7 @@ const fs = require('fs');
8
const {By, until, Button} = webdriver;
9
10
const USE_HEADLESS = process.env.USE_HEADLESS !== 'no';
11
-const IS_ROOT_USER = process.getuid() == 0;
+const IS_ROOT_USER = process.getuid() === 0;
12
13
// The main reason for this timeout is so that we can control the timeout message and report details;
14
// if we hit the Jasmine default timeout then we get a terse message that we can't control.
0 commit comments