Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: qunit/tests/filterValidation.js

Issue 29713631: Issue 5760 - Use relative require paths (Closed)
Patch Set: Address PS1 Comments, rebase Created March 20, 2018, 11:25 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 {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",
« lib/filterComposer.js ('K') | « qunit/tests/cssEscaping.js ('k') | qunit/tests/prefs.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld