Imported utils function for random string

This commit is contained in:
koloml committed 2025-02-25 03:39:30 +04:00
1 parent 09edc44af8
commit dc0a9f0aa8
1 file changed
+1 -4
@@ -1,9 +1,6 @@
import { BaseComponent } from "$lib/components/base/BaseComponent";
import { getComponent } from "$lib/components/base/component-utils";
function randomString() {
return crypto.randomUUID();
}
import { randomString } from "$tests/utils";
describe('BaseComponent', () => {
it('should bind the component to the element', () => {