diff --git a/data/entities.js b/data/entities.js index f64b3bb..e5381d0 100644 --- a/data/entities.js +++ b/data/entities.js @@ -6450,7 +6450,7 @@ module.exports = [ { name: 'Maxymiser', category: 'analytics', - domains: ['*.maxymiser.net, maxymiser.hs.llnwd.net'], + domains: ['*.maxymiser.net', 'maxymiser.hs.llnwd.net'], }, { name: 'McAffee', diff --git a/lib/entities.test.js b/lib/entities.test.js index ca6339d..769fe95 100644 --- a/lib/entities.test.js +++ b/lib/entities.test.js @@ -24,4 +24,14 @@ describe('Entities', () => { } } }) + + it('should not have commas within a domain', () => { + for (const entity of entities) { + for (const domain of entity.domains) { + // A domain can be `*.maxymiser.net` or `maxymiser.hs.llnwd.net` + // A domain can't be `*.maxymiser.net, maxymiser.hs.llnwd.net` + expect(domain).toEqual(expect.not.stringContaining(',')) + } + } + }) })