File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { describe , it , expect , vi } from "vitest" ;
2- import { ReplexicaEngine } from "./index" ;
2+ import { LingoDotDevEngine } from "./index" ;
33
44describe ( "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
You can’t perform that action at this time.
0 commit comments