Skip to content

Commit b0b216f

Browse files
NdpntMattiSG
andauthored
Improve wording
Co-authored-by: Matti Schneider <[email protected]>
1 parent 8409848 commit b0b216f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/declarations/validate/index.mocha.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export default async options => {
9191
const conflictingNames = serviceFilterNames.filter(name => reservedFilterNames.includes(name));
9292

9393
if (conflictingNames.length) {
94-
throw new Error(`Service filter file "${serviceId}.filters.js" declares filters with engine reserved names: "${conflictingNames.join('", "')}".`);
94+
throw new Error(`Service filter file "${serviceId}.filters.js" declares filters with names used by built-in filters: "${conflictingNames.join('", "')}". Rename these filters to avoid a collision.`);
9595
}
9696
});
9797

src/archivist/extract/exposedFilters.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ describe('exposedFilters', () => {
9696

9797
before(() => {
9898
link = webPageDOM.createElement('a');
99-
link.href = 'ht^tp://example.com?utm_source=test';
99+
link.href = 'ht^THIS_IS_WRONG^tp://example.com?utm_source=test';
100100
webPageDOM.body.appendChild(link);
101101
});
102102

0 commit comments

Comments
 (0)