Skip to content

Commit

Permalink
test(unit/runner.spec.js): Skip existential operator checks
Browse files Browse the repository at this point in the history
  • Loading branch information
plroebuck committed Feb 1, 2019
1 parent 6f125b1 commit 9e36ddc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/unit/runner.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ describe('Runner', function() {

before(function() {
// Only for Node running on Windows
if ('platform' in process && process.platform === 'win32') {
if (process.platform === 'win32') {
var addDrive = function(str) {
var drive = 'C:';
var pos = str.indexOf(path.posix.sep);
Expand All @@ -473,7 +473,7 @@ describe('Runner', function() {

describe('shortStackTrace', function() {
before(function() {
if ('browser' in process) {
if (process.browser) {
this.skip();
}
});
Expand Down Expand Up @@ -513,7 +513,7 @@ describe('Runner', function() {

describe('hugeStackTrace', function() {
before(function() {
if ('browser' in process) {
if (process.browser) {
this.skip();
}
});
Expand Down

0 comments on commit 9e36ddc

Please sign in to comment.