slice-machine
slice-machine copied to clipboard
Bundle tests are incompatible with new slice builder
https://github.com/prismicio/slice-machine/blob/d5e869a9fa226992f2d99efa5d4105e758249c52/packages/sm-commons/expect/index.js#L35
It looks like these tests aren't compatible with the latest Slice Builder:
expect(model).to.have.property("type", "Slice");
expect(model).to.have.property("fieldset");
expect(model).to.have.property("description");
expect(model).to.have.property("icon");
expect(model).to.have.property("display");
expect(model).to.have.property("non-repeat");
After creating slices with the builder, I tried to bundle, and couldn't do so until I commented these out.