Skip to content

Commit

Permalink
Update SchemaModel.test.ts
Browse files Browse the repository at this point in the history
Co-authored-by: WilliamThorenfeldt <133344438+WilliamThorenfeldt@users.noreply.github.com>
  • Loading branch information
framitdavid and WilliamThorenfeldt authored Feb 2, 2024
1 parent b1d6345 commit f020729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/packages/schema-model/src/lib/SchemaModel.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ describe('SchemaModel', () => {
expect(model.asArray()).toEqual(schemaModel.asArray());
});

it('Should not throws an error if trying to delete a child node of a definition in use', () => {
it('Should not throw an error if trying to delete a child node of a definition in use', () => {
const model = schemaModel.deepClone();
expect(() => model.deleteNode(defNodeWithChildrenChildMock.pointer)).not.toThrowError();
expect(model.asArray()).not.toEqual(schemaModel.asArray());
Expand Down

0 comments on commit f020729

Please sign in to comment.