chore(core): Better naming of test
This commit is contained in:
parent
8d1bc3c516
commit
e5f991241d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue