Skip to content

Commit

Permalink
fixed locale path
Browse files Browse the repository at this point in the history
  • Loading branch information
shakyShane committed Dec 16, 2024
1 parent 6d1e614 commit 760c5e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export class SpecialErrorPage {
* catching it here and letting it bubble up to fail the playwright test in question.
*/
if (locale && locale.length === 2) {
const localeStrings = readFileSync(require.resolve(`../src/locales/${locale}/special-error.json`), 'utf8');
const localeStrings = readFileSync(require.resolve(`../public/locales/${locale}/special-error.json`), 'utf8');
initialSetup.localeStrings = localeStrings;
initialSetup.locale = locale;
}
Expand Down

0 comments on commit 760c5e8

Please sign in to comment.