1
0
Fork 0

chore(core): Better naming of test

This commit is contained in:
joostdecock 2022-07-31 15:04:38 +02:00
parent 8d1bc3c516
commit e5f991241d

View file

@ -334,7 +334,7 @@ it("Should generate an error when removing a material that is not set (through r
expect(pattern.events.warning[0]).to.equal('Tried to remove a material that is not set') expect(pattern.events.warning[0]).to.equal('Tried to remove a material that is not set')
}); });
it("Should generate an error when removing a material that is not set (through removeCut)", () => { it("Should generate an error when removing a material that is not a string (through removeCut)", () => {
let pattern = new freesewing.Pattern(); let pattern = new freesewing.Pattern();
let part = new pattern.Part(); let part = new pattern.Part();
part.addCut(4, 'fabric', true) part.addCut(4, 'fabric', true)