fix(contextMenu): Remove regular expression validation (#10994)

* fix: remove regex validation

* test: remove incorrect test

This is fine to create.

* fix: guard against whitespace
This commit is contained in:
Jiralite
2025-07-16 16:47:29 +01:00
committed by GitHub
parent 9ff04820b3
commit 1dfc511e4f
2 changed files with 3 additions and 3 deletions

View File

@@ -12,8 +12,6 @@ describe('Context Menu Commands', () => {
});
test('GIVEN invalid name THEN throw error', () => {
expect(() => getBuilder().setName('$$$').toJSON()).toThrowError();
expect(() => getBuilder().setName(' ').toJSON()).toThrowError();
});