Index: qunit/tests/filterValidation.js |
=================================================================== |
--- a/qunit/tests/filterValidation.js |
+++ b/qunit/tests/filterValidation.js |
@@ -1,15 +1,15 @@ |
"use strict"; |
{ |
- const {parseFilter, parseFilters} = require("filterValidation"); |
+ const {parseFilter, parseFilters} = require("../../lib/filterValidation"); |
const {BlockingFilter, |
ElemHideFilter, |
- CommentFilter} = require("filterClasses"); |
+ CommentFilter} = require("../../adblockpluscore/lib/filterClasses"); |
QUnit.module("Filter validation"); |
test("Detecting invalid filters", () => |
{ |
equal(parseFilter("||example.com^$unknown").error.type, "invalid-filter", |
"unknown option"); |
equal(parseFilter("[foobar]").error.type, "unexpected-filter-list-header", |