mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-01-11 18:30:29 +00:00
fix: move scan translations test to test folder
This commit is contained in:
parent
bafa6a7ad2
commit
66ad1ea59f
3 changed files with 3 additions and 4 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -3,5 +3,4 @@
|
|||
/yarn.lock
|
||||
/npm-debug.log
|
||||
.DS_Store
|
||||
.prettierignore
|
||||
i18n-report.csv
|
||||
.prettierignore
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
"build": "webpack --mode production",
|
||||
"test": "jest",
|
||||
"lint": "eslint src",
|
||||
"scan-translations": "npx jest i18nScan.test.js"
|
||||
"scan-translations": "npx jest ./tests/i18nScan.test.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "7.26.0",
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ describe('i18n hardcoded string scan', () => {
|
|||
console.log('✅ No hardcoded strings found.');
|
||||
} else {
|
||||
console.log('🚨 Hardcoded strings found:');
|
||||
report.forEach(row => {
|
||||
report.forEach((row) => {
|
||||
console.log(`File: ${row.file}, Line: ${row.line}, String: "${row.string}", Suggested Key: ${row.key}`);
|
||||
});
|
||||
}
|
||||
Loading…
Reference in a new issue