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"); |
kzar
2018/04/05 11:14:57
What about this one?
Jon Sonesen
2018/04/05 23:01:20
Since this file is names filterValidation as well,
|
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", |