We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a6500cd + eb3cf2d commit 3e2679fCopy full SHA for 3e2679f
packages/graph-framework-utils/test/generateId.test.ts
@@ -5,5 +5,5 @@ import { generateId } from '../src/generateId.js';
5
it('should generate a base58 encoded uuid of 22 char length', () => {
6
const id = generateId();
7
expect(id).toBeTypeOf('string');
8
- expect(id).toHaveLength(22);
+ expect(id.length === 21 || id.length === 22).toBe(true);
9
});
0 commit comments