Tests: no-bitwise
This commit is contained in:
@ -11,7 +11,6 @@
|
||||
// Exceptions
|
||||
"func-names": 0,
|
||||
// To add
|
||||
"no-bitwise": 0,
|
||||
"max-len": 0,
|
||||
"no-underscore-dangle": 0,
|
||||
"no-shadow": 0,
|
||||
|
@ -23,9 +23,6 @@ if (!global.document || !global.window) {
|
||||
global.window = document.parentWindow;
|
||||
global.navigator = global.window.navigator;
|
||||
|
||||
global.window.Node.prototype.contains = function (node) {
|
||||
return this.compareDocumentPosition(node) & 16;
|
||||
};
|
||||
}
|
||||
const testHelpers = require('./loadHelpers.js');
|
||||
global.testHelpers = testHelpers;
|
||||
|
Reference in New Issue
Block a user