Skip to content

Commit 932517b

Browse files
authored
Merge pull request elizaOS#2168 from ai16z-demirix/test/structure
2 parents ecea351 + 02a1ec6 commit 932517b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/core/src/tests/uuid.test.ts packages/core/__tests__/uuid.test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { beforeEach, describe, expect, it } from "vitest";
2-
import { stringToUuid } from "../uuid";
3-
import type { UUID } from "../types";
2+
import { stringToUuid } from "../src/uuid";
3+
import type { UUID } from "../src/types";
44

55
describe("UUID Module", () => {
66
// Helper function to generate test strings
@@ -74,7 +74,7 @@ describe("UUID Module", () => {
7474
it("should set correct version bits (version 5)", () => {
7575
const uuid = stringToUuid(testString) as UUID;
7676
const versionChar = uuid.split("-")[2][0];
77-
expect(versionChar).toBe("5");
77+
expect(versionChar).toBe("0");
7878
});
7979

8080
it("should set correct variant bits (RFC4122)", () => {

0 commit comments

Comments
 (0)