Skip to content

Commit 6122926

Browse files
fix: tests (#494)
* fix: references * fix: payload references * fix: tests
1 parent 81527a4 commit 6122926

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

packages/sdk/src/index.spec.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { describe, it, expect, vi } from "vitest";
2-
import { ReplexicaEngine } from "./index";
2+
import { LingoDotDevEngine } from "./index";
33

44
describe("ReplexicaEngine", () => {
55
it("should pass", () => {
@@ -36,7 +36,7 @@ describe("ReplexicaEngine", () => {
3636
</html>`.trim();
3737

3838
// Mock the internal localization method
39-
const engine = new ReplexicaEngine({ apiKey: "test" });
39+
const engine = new LingoDotDevEngine({ apiKey: "test" });
4040
const mockLocalizeRaw = vi.spyOn(engine as any, "_localizeRaw");
4141
mockLocalizeRaw.mockImplementation(async (content: any) => {
4242
// Simulate translation by adding 'ES:' prefix to all strings
@@ -72,7 +72,6 @@ describe("ReplexicaEngine", () => {
7272
targetLocale: "es",
7373
},
7474
undefined,
75-
undefined,
7675
);
7776

7877
// Verify the final HTML structure

0 commit comments

Comments
 (0)