1
0
Fork 0

fix: Updated tests now there's no more tags

This commit is contained in:
Joost De Cock 2021-05-30 15:53:53 +02:00
parent 0eee012d0a
commit 12404f4438

View file

@ -18,7 +18,7 @@ const testPatternConfig = (design, pattern, expect, models, patterns) => {
expect(typeof pattern.config.version).to.equal('string') expect(typeof pattern.config.version).to.equal('string')
expect(pattern.config.version.length > 1).to.be.true expect(pattern.config.version.length > 1).to.be.true
}) })
for (let key of ['design', 'code', 'tags']) { for (let key of ['design', 'code']) {
it(` - '${key}' should be a string or array of strings`, () => { it(` - '${key}' should be a string or array of strings`, () => {
if (typeof pattern.config[key] === 'string') { if (typeof pattern.config[key] === 'string') {
expect(pattern.config[key].length > 1).to.be.true expect(pattern.config[key].length > 1).to.be.true