add 'none' keyword to PISS shadow definiton that equals empty array

This commit is contained in:
Henry Jameson 2024-09-24 00:23:25 +03:00
commit ab8907909b
5 changed files with 16 additions and 6 deletions

View file

@ -19,7 +19,7 @@ describe('ISS (de)serialization', () => {
/*
// Debug snippet
const onlyComponent = componentsContext('./components/panel_header.style.js').default
it(`(De)serialization of component ${onlyComponent.name} works`, () => {
it.only(`(De)serialization of component ${onlyComponent.name} works`, () => {
const normalized = onlyComponent.defaultRules.map(x => ({ component: onlyComponent.name, ...x }))
console.log('BEGIN INPUT ================')
console.log(normalized)
@ -36,5 +36,5 @@ describe('ISS (de)serialization', () => {
// for some reason comparing objects directly fails the assert
expect(JSON.stringify(deserialized, null, 2)).to.equal(JSON.stringify(normalized, null, 2))
})
*/
/* */
})