Compare commits

...

7 Commits

Author SHA1 Message Date
2382ada8fe fix(deps): update dependency solid-js to v1.9.10 2025-12-31 16:47:54 +00:00
41bc03a737 Revert "fix macos build (?)"
This reverts commit 2ab6eff761.
2025-12-30 22:23:14 +02:00
2ab6eff761 fix macos build (?) 2025-12-30 22:17:18 +02:00
6c881a265a fix tests 2025-12-30 22:02:23 +02:00
2b15f0a87c chore(i18n): Translated using Weblate (Persian)
Currently translated at 99.5% (461 of 463 strings)

Translation: pear-devs/pear-desktop/i18n
Translate-URL: https://hosted.weblate.org/projects/youtube-music/i18n/fa/
2025-12-30 10:00:31 +01:00
1d6ab2a82b update eslint config 2025-12-29 17:04:25 +02:00
24e82e69d1 chore(i18n): Translated using Weblate (Polish)
Currently translated at 100.0% (463 of 463 strings)

Translation: pear-devs/pear-desktop/i18n
Translate-URL: https://hosted.weblate.org/projects/youtube-music/i18n/pl/
2025-12-28 21:00:38 +00:00
8 changed files with 163 additions and 97 deletions

View File

@ -18,51 +18,89 @@ export default tsEslint.config(
{ {
plugins: { plugins: {
stylistic, stylistic,
importPlugin importPlugin,
}, },
languageOptions: { languageOptions: {
parser: tsEslint.parser, parser: tsEslint.parser,
parserOptions: { parserOptions: {
project: true, project: ['tsconfig.json', 'tsconfig.test.json'],
sourceType: 'module', sourceType: 'module',
ecmaVersion: 'latest' ecmaVersion: 'latest',
} },
}, },
rules: { rules: {
'stylistic/arrow-parens': ['error', 'always'], 'stylistic/arrow-parens': ['error', 'always'],
'stylistic/object-curly-spacing': ['error', 'always'], 'stylistic/object-curly-spacing': ['error', 'always'],
'stylistic/jsx-pascal-case': 'error', 'stylistic/jsx-pascal-case': 'error',
'stylistic/jsx-curly-spacing': ['error', { when: 'never', children: true }], 'stylistic/jsx-curly-spacing': [
'error',
{ when: 'never', children: true },
],
'stylistic/jsx-sort-props': 'error', 'stylistic/jsx-sort-props': 'error',
'prettier/prettier': ['error', { singleQuote: true, semi: true, tabWidth: 2, trailingComma: 'all', quoteProps: 'preserve' }], 'prettier/prettier': [
'error',
{
singleQuote: true,
semi: true,
tabWidth: 2,
trailingComma: 'all',
quoteProps: 'preserve',
},
],
'@typescript-eslint/no-floating-promises': 'off', '@typescript-eslint/no-floating-promises': 'off',
'@typescript-eslint/no-misused-promises': ['off', { checksVoidReturn: false }], '@typescript-eslint/no-misused-promises': [
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }], 'off',
{ checksVoidReturn: false },
],
'@typescript-eslint/no-unused-vars': [
'warn',
{ argsIgnorePattern: '^_' },
],
'@typescript-eslint/no-non-null-assertion': 'off', '@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/consistent-type-imports': ['error', { '@typescript-eslint/consistent-type-imports': [
'error',
{
fixStyle: 'inline-type-imports', fixStyle: 'inline-type-imports',
prefer: 'type-imports', prefer: 'type-imports',
disallowTypeAnnotations: false, disallowTypeAnnotations: false,
}], },
],
'importPlugin/first': 'error', 'importPlugin/first': 'error',
'importPlugin/newline-after-import': 'off', 'importPlugin/newline-after-import': 'off',
'importPlugin/no-default-export': 'off', 'importPlugin/no-default-export': 'off',
'importPlugin/no-duplicates': 'error', 'importPlugin/no-duplicates': 'error',
'importPlugin/no-unresolved': ['error', { ignore: ['^virtual:', '\\?inline$', '\\?raw$', '\\?asset&asarUnpack'] }], 'importPlugin/no-unresolved': [
'importPlugin/order': ['error', { 'error',
'groups': ['builtin', 'external', ['internal', 'index', 'sibling'], 'parent', 'type'], {
ignore: ['^virtual:', '\\?inline$', '\\?raw$', '\\?asset&asarUnpack'],
},
],
'importPlugin/order': [
'error',
{
'groups': [
'builtin',
'external',
['internal', 'index', 'sibling'],
'parent',
'type',
],
'newlines-between': 'always-and-inside-groups', 'newlines-between': 'always-and-inside-groups',
'alphabetize': { order: 'ignore', caseInsensitive: false } 'alphabetize': { order: 'ignore', caseInsensitive: false },
}], },
],
'importPlugin/prefer-default-export': 'off', 'importPlugin/prefer-default-export': 'off',
'camelcase': ['error', { properties: 'never' }], 'camelcase': ['error', { properties: 'never' }],
'class-methods-use-this': 'off', 'class-methods-use-this': 'off',
'stylistic/lines-around-comment': ['error', { 'stylistic/lines-around-comment': [
'error',
{
beforeBlockComment: false, beforeBlockComment: false,
afterBlockComment: false, afterBlockComment: false,
beforeLineComment: false, beforeLineComment: false,
afterLineComment: false, afterLineComment: false,
}], },
],
'stylistic/max-len': 'off', 'stylistic/max-len': 'off',
'stylistic/no-mixed-operators': 'warn', // prettier does not support no-mixed-operators 'stylistic/no-mixed-operators': 'warn', // prettier does not support no-mixed-operators
'stylistic/no-multi-spaces': ['error', { ignoreEOLComments: true }], 'stylistic/no-multi-spaces': ['error', { ignoreEOLComments: true }],
@ -70,16 +108,20 @@ export default tsEslint.config(
'no-void': 'error', 'no-void': 'error',
'no-empty': 'off', 'no-empty': 'off',
'prefer-promise-reject-errors': 'off', 'prefer-promise-reject-errors': 'off',
'stylistic/quotes': ['error', 'single', { 'stylistic/quotes': [
'error',
'single',
{
avoidEscape: true, avoidEscape: true,
allowTemplateLiterals: false, allowTemplateLiterals: 'never',
}], },
],
'stylistic/quote-props': ['error', 'consistent'], 'stylistic/quote-props': ['error', 'consistent'],
'stylistic/semi': ['error', 'always'], 'stylistic/semi': ['error', 'always'],
}, },
settings: { settings: {
'import/parsers': { 'import/parsers': {
'@typescript-eslint/parser': ['.ts'] '@typescript-eslint/parser': ['.ts'],
}, },
'import/resolver': { 'import/resolver': {
typescript: {}, typescript: {},

View File

@ -126,7 +126,7 @@
"socks": "2.8.7", "socks": "2.8.7",
"solid-element": "1.9.1", "solid-element": "1.9.1",
"solid-floating-ui": "0.3.1", "solid-floating-ui": "0.3.1",
"solid-js": "1.9.9", "solid-js": "1.9.10",
"solid-styled-components": "0.28.5", "solid-styled-components": "0.28.5",
"solid-transition-group": "0.3.0", "solid-transition-group": "0.3.0",
"tiny-pinyin": "1.3.2", "tiny-pinyin": "1.3.2",
@ -168,7 +168,6 @@
"eslint-plugin-solid": "0.14.5", "eslint-plugin-solid": "0.14.5",
"glob": "11.1.0", "glob": "11.1.0",
"node-gyp": "11.4.2", "node-gyp": "11.4.2",
"playwright": "1.55.1",
"ts-morph": "27.0.2", "ts-morph": "27.0.2",
"typescript": "5.9.3", "typescript": "5.9.3",
"typescript-eslint": "8.43.0", "typescript-eslint": "8.43.0",

97
pnpm-lock.yaml generated
View File

@ -221,19 +221,19 @@ importers:
version: 2.8.7 version: 2.8.7
solid-element: solid-element:
specifier: 1.9.1 specifier: 1.9.1
version: 1.9.1(solid-js@1.9.9) version: 1.9.1(solid-js@1.9.10)
solid-floating-ui: solid-floating-ui:
specifier: 0.3.1 specifier: 0.3.1
version: 0.3.1(@floating-ui/dom@1.7.4)(solid-js@1.9.9) version: 0.3.1(@floating-ui/dom@1.7.4)(solid-js@1.9.10)
solid-js: solid-js:
specifier: 1.9.9 specifier: 1.9.10
version: 1.9.9 version: 1.9.10
solid-styled-components: solid-styled-components:
specifier: 0.28.5 specifier: 0.28.5
version: 0.28.5(solid-js@1.9.9) version: 0.28.5(solid-js@1.9.10)
solid-transition-group: solid-transition-group:
specifier: 0.3.0 specifier: 0.3.0
version: 0.3.0(solid-js@1.9.9) version: 0.3.0(solid-js@1.9.10)
tiny-pinyin: tiny-pinyin:
specifier: 1.3.2 specifier: 1.3.2
version: 1.3.2 version: 1.3.2
@ -242,7 +242,7 @@ importers:
version: 1.3.4 version: 1.3.4
virtua: virtua:
specifier: 0.48.2 specifier: 0.48.2
version: 0.48.2(solid-js@1.9.9) version: 0.48.2(solid-js@1.9.10)
vudio: vudio:
specifier: 2.1.1 specifier: 2.1.1
version: 2.1.1(patch_hash=0e06c2ed11c02bdc490c209fa80070e98517c2735c641f5738b6e15d7dc1959d) version: 2.1.1(patch_hash=0e06c2ed11c02bdc490c209fa80070e98517c2735c641f5738b6e15d7dc1959d)
@ -343,9 +343,6 @@ importers:
node-gyp: node-gyp:
specifier: 11.4.2 specifier: 11.4.2
version: 11.4.2 version: 11.4.2
playwright:
specifier: 1.55.1
version: 1.55.1
ts-morph: ts-morph:
specifier: 27.0.2 specifier: 27.0.2
version: 27.0.2 version: 27.0.2
@ -369,7 +366,7 @@ importers:
version: 2.5.2 version: 2.5.2
vite-plugin-solid: vite-plugin-solid:
specifier: 2.11.10 specifier: 2.11.10
version: 2.11.10(rolldown-vite@7.3.0(@types/node@24.3.0)(jiti@2.6.1)(yaml@2.8.1))(solid-js@1.9.9) version: 2.11.10(rolldown-vite@7.3.0(@types/node@24.3.0)(jiti@2.6.1)(yaml@2.8.1))(solid-js@1.9.10)
ws: ws:
specifier: 8.18.3 specifier: 8.18.3
version: 8.18.3(bufferutil@4.0.9)(utf-8-validate@6.0.6) version: 8.18.3(bufferutil@4.0.9)(utf-8-validate@6.0.6)
@ -3902,21 +3899,11 @@ packages:
engines: {node: '>=18'} engines: {node: '>=18'}
hasBin: true hasBin: true
playwright-core@1.55.1:
resolution: {integrity: sha512-Z6Mh9mkwX+zxSlHqdr5AOcJnfp+xUWLCt9uKV18fhzA8eyxUd8NUWzAjxUh55RZKSYwDGX0cfaySdhZJGMoJ+w==}
engines: {node: '>=18'}
hasBin: true
playwright@1.55.0: playwright@1.55.0:
resolution: {integrity: sha512-sdCWStblvV1YU909Xqx0DhOjPZE4/5lJsIS84IfN9dAZfcl/CIZ5O8l3o0j7hPMjDvqoTF8ZUcc+i/GL5erstA==} resolution: {integrity: sha512-sdCWStblvV1YU909Xqx0DhOjPZE4/5lJsIS84IfN9dAZfcl/CIZ5O8l3o0j7hPMjDvqoTF8ZUcc+i/GL5erstA==}
engines: {node: '>=18'} engines: {node: '>=18'}
hasBin: true hasBin: true
playwright@1.55.1:
resolution: {integrity: sha512-cJW4Xd/G3v5ovXtJJ52MAOclqeac9S/aGGgRzLabuF8TnIb6xHvMzKIa6JmrRzUkeXJgfL1MhukP0NK6l39h3A==}
engines: {node: '>=18'}
hasBin: true
plist@3.1.0: plist@3.1.0:
resolution: {integrity: sha512-uysumyrvkUX0rX/dEVqt8gC3sTBzd4zoWfLeS29nb53imdaXVvLINYXTI2GNqzaMuvacNx4uJQ8+b3zXR0pkgQ==} resolution: {integrity: sha512-uysumyrvkUX0rX/dEVqt8gC3sTBzd4zoWfLeS29nb53imdaXVvLINYXTI2GNqzaMuvacNx4uJQ8+b3zXR0pkgQ==}
engines: {node: '>=10.4.0'} engines: {node: '>=10.4.0'}
@ -4326,8 +4313,8 @@ packages:
'@floating-ui/dom': ^1.5 '@floating-ui/dom': ^1.5
solid-js: ^1.8 solid-js: ^1.8
solid-js@1.9.9: solid-js@1.9.10:
resolution: {integrity: sha512-A0ZBPJQldAeGCTW0YRYJmt7RCeh5rbFfPZ2aOttgYnctHE7HgKeHCBB/PVc2P7eOfmNXqMFFFoYYdm3S4dcbkA==} resolution: {integrity: sha512-Coz956cos/EPDlhs6+jsdTxKuJDPT7B5SVIWgABwROyxjY7Xbr8wkzD68Et+NxnV7DLJ3nJdAC2r9InuV/4Jew==}
solid-refresh@0.6.3: solid-refresh@0.6.3:
resolution: {integrity: sha512-F3aPsX6hVw9ttm5LYlth8Q15x6MlI/J3Dn+o3EQyRTtTxidepSTwAYdozt01/YA+7ObcciagGEyXIopGZzQtbA==} resolution: {integrity: sha512-F3aPsX6hVw9ttm5LYlth8Q15x6MlI/J3Dn+o3EQyRTtTxidepSTwAYdozt01/YA+7ObcciagGEyXIopGZzQtbA==}
@ -5878,18 +5865,18 @@ snapshots:
'@skyra/jaro-winkler@1.1.1': {} '@skyra/jaro-winkler@1.1.1': {}
'@solid-primitives/refs@1.1.2(solid-js@1.9.9)': '@solid-primitives/refs@1.1.2(solid-js@1.9.10)':
dependencies: dependencies:
'@solid-primitives/utils': 6.3.2(solid-js@1.9.9) '@solid-primitives/utils': 6.3.2(solid-js@1.9.10)
solid-js: 1.9.9 solid-js: 1.9.10
'@solid-primitives/transition-group@1.1.2(solid-js@1.9.9)': '@solid-primitives/transition-group@1.1.2(solid-js@1.9.10)':
dependencies: dependencies:
solid-js: 1.9.9 solid-js: 1.9.10
'@solid-primitives/utils@6.3.2(solid-js@1.9.9)': '@solid-primitives/utils@6.3.2(solid-js@1.9.10)':
dependencies: dependencies:
solid-js: 1.9.9 solid-js: 1.9.10
'@stylistic/eslint-plugin@5.3.1(eslint@9.35.0(jiti@2.6.1))': '@stylistic/eslint-plugin@5.3.1(eslint@9.35.0(jiti@2.6.1))':
dependencies: dependencies:
@ -6451,12 +6438,12 @@ snapshots:
parse5: 7.3.0 parse5: 7.3.0
validate-html-nesting: 1.2.3 validate-html-nesting: 1.2.3
babel-preset-solid@1.9.9(@babel/core@7.28.3)(solid-js@1.9.9): babel-preset-solid@1.9.9(@babel/core@7.28.3)(solid-js@1.9.10):
dependencies: dependencies:
'@babel/core': 7.28.3 '@babel/core': 7.28.3
babel-plugin-jsx-dom-expressions: 0.40.1(@babel/core@7.28.3) babel-plugin-jsx-dom-expressions: 0.40.1(@babel/core@7.28.3)
optionalDependencies: optionalDependencies:
solid-js: 1.9.9 solid-js: 1.9.10
balanced-match@1.0.2: {} balanced-match@1.0.2: {}
@ -8933,20 +8920,12 @@ snapshots:
playwright-core@1.55.0: {} playwright-core@1.55.0: {}
playwright-core@1.55.1: {}
playwright@1.55.0: playwright@1.55.0:
dependencies: dependencies:
playwright-core: 1.55.0 playwright-core: 1.55.0
optionalDependencies: optionalDependencies:
fsevents: 2.3.2 fsevents: 2.3.2
playwright@1.55.1:
dependencies:
playwright-core: 1.55.1
optionalDependencies:
fsevents: 2.3.2
plist@3.1.0: plist@3.1.0:
dependencies: dependencies:
'@xmldom/xmldom': 0.8.11 '@xmldom/xmldom': 0.8.11
@ -9366,42 +9345,42 @@ snapshots:
ip-address: 10.0.1 ip-address: 10.0.1
smart-buffer: 4.2.0 smart-buffer: 4.2.0
solid-element@1.9.1(solid-js@1.9.9): solid-element@1.9.1(solid-js@1.9.10):
dependencies: dependencies:
component-register: 0.8.7 component-register: 0.8.7
solid-js: 1.9.9 solid-js: 1.9.10
solid-floating-ui@0.3.1(@floating-ui/dom@1.7.4)(solid-js@1.9.9): solid-floating-ui@0.3.1(@floating-ui/dom@1.7.4)(solid-js@1.9.10):
dependencies: dependencies:
'@floating-ui/dom': 1.7.4 '@floating-ui/dom': 1.7.4
solid-js: 1.9.9 solid-js: 1.9.10
solid-js@1.9.9: solid-js@1.9.10:
dependencies: dependencies:
csstype: 3.1.3 csstype: 3.1.3
seroval: 1.3.2 seroval: 1.3.2
seroval-plugins: 1.3.2(seroval@1.3.2) seroval-plugins: 1.3.2(seroval@1.3.2)
solid-refresh@0.6.3(solid-js@1.9.9): solid-refresh@0.6.3(solid-js@1.9.10):
dependencies: dependencies:
'@babel/generator': 7.28.3 '@babel/generator': 7.28.3
'@babel/helper-module-imports': 7.27.1 '@babel/helper-module-imports': 7.27.1
'@babel/types': 7.28.2 '@babel/types': 7.28.2
solid-js: 1.9.9 solid-js: 1.9.10
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
solid-styled-components@0.28.5(solid-js@1.9.9): solid-styled-components@0.28.5(solid-js@1.9.10):
dependencies: dependencies:
csstype: 3.1.3 csstype: 3.1.3
goober: 2.1.16(csstype@3.1.3) goober: 2.1.16(csstype@3.1.3)
solid-js: 1.9.9 solid-js: 1.9.10
solid-transition-group@0.3.0(solid-js@1.9.9): solid-transition-group@0.3.0(solid-js@1.9.10):
dependencies: dependencies:
'@solid-primitives/refs': 1.1.2(solid-js@1.9.9) '@solid-primitives/refs': 1.1.2(solid-js@1.9.10)
'@solid-primitives/transition-group': 1.1.2(solid-js@1.9.9) '@solid-primitives/transition-group': 1.1.2(solid-js@1.9.10)
solid-js: 1.9.9 solid-js: 1.9.10
source-map-js@1.2.1: {} source-map-js@1.2.1: {}
@ -9790,9 +9769,9 @@ snapshots:
extsprintf: 1.4.1 extsprintf: 1.4.1
optional: true optional: true
virtua@0.48.2(solid-js@1.9.9): virtua@0.48.2(solid-js@1.9.10):
optionalDependencies: optionalDependencies:
solid-js: 1.9.9 solid-js: 1.9.10
vite-dev-rpc@1.1.0(rolldown-vite@7.3.0(@types/node@24.3.0)(jiti@2.6.1)(yaml@2.8.1)): vite-dev-rpc@1.1.0(rolldown-vite@7.3.0(@types/node@24.3.0)(jiti@2.6.1)(yaml@2.8.1)):
dependencies: dependencies:
@ -9823,14 +9802,14 @@ snapshots:
dependencies: dependencies:
lib-esm: 0.4.2 lib-esm: 0.4.2
vite-plugin-solid@2.11.10(rolldown-vite@7.3.0(@types/node@24.3.0)(jiti@2.6.1)(yaml@2.8.1))(solid-js@1.9.9): vite-plugin-solid@2.11.10(rolldown-vite@7.3.0(@types/node@24.3.0)(jiti@2.6.1)(yaml@2.8.1))(solid-js@1.9.10):
dependencies: dependencies:
'@babel/core': 7.28.3 '@babel/core': 7.28.3
'@types/babel__core': 7.20.5 '@types/babel__core': 7.20.5
babel-preset-solid: 1.9.9(@babel/core@7.28.3)(solid-js@1.9.9) babel-preset-solid: 1.9.9(@babel/core@7.28.3)(solid-js@1.9.10)
merge-anything: 5.1.7 merge-anything: 5.1.7
solid-js: 1.9.9 solid-js: 1.9.10
solid-refresh: 0.6.3(solid-js@1.9.9) solid-refresh: 0.6.3(solid-js@1.9.10)
vite: rolldown-vite@7.3.0(@types/node@24.3.0)(jiti@2.6.1)(yaml@2.8.1) vite: rolldown-vite@7.3.0(@types/node@24.3.0)(jiti@2.6.1)(yaml@2.8.1)
vitefu: 1.1.1(rolldown-vite@7.3.0(@types/node@24.3.0)(jiti@2.6.1)(yaml@2.8.1)) vitefu: 1.1.1(rolldown-vite@7.3.0(@types/node@24.3.0)(jiti@2.6.1)(yaml@2.8.1))
transitivePeerDependencies: transitivePeerDependencies:

View File

@ -320,6 +320,22 @@
"hostname": { "hostname": {
"label": "نام میزبان" "label": "نام میزبان"
}, },
"https": {
"label": "HTTPS و گواهینامه‌ها",
"submenu": {
"cert": {
"dialogTitle": "پرونده گواهینامه HTTPS را انتخاب کنید",
"label": "پرونده گواهینامه (crt/.pem.)"
},
"enable-https": {
"label": "فعال کردن HTTPS"
},
"key": {
"dialogTitle": "پرونده کلید خصوصی HTTPS را انتخاب کنید",
"label": "پرونده کلید خصوصی (key/.pem)"
}
}
},
"port": { "port": {
"label": "پورت" "label": "پورت"
} }

View File

@ -237,7 +237,8 @@
"submenu": { "submenu": {
"percent": "{{ratio}}%" "percent": "{{ratio}}%"
} }
} },
"enable-seekbar": "Zezwól stylowanie paska wyszukiwań"
}, },
"name": "Motyw kolorów albumu" "name": "Motyw kolorów albumu"
}, },
@ -320,6 +321,22 @@
"hostname": { "hostname": {
"label": "Nazwa hosta (IP)" "label": "Nazwa hosta (IP)"
}, },
"https": {
"label": "HTTPS i Certyfikaty",
"submenu": {
"cert": {
"dialogTitle": "Wybierz plik certyfikatu HTTPS",
"label": "Certyfikat (.crt/.pem)"
},
"enable-https": {
"label": "Zezwól HTTPS"
},
"key": {
"dialogTitle": "Wybierz plik prywatnego klucza HTTPS",
"label": "Klucz prywatny (.key/.pem)"
}
}
},
"port": { "port": {
"label": "Port" "label": "Port"
} }
@ -461,8 +478,8 @@
"set-status-display-type": { "set-status-display-type": {
"label": "Opis statusu", "label": "Opis statusu",
"submenu": { "submenu": {
"artist": "Słucha {artist}",
"application": "Słucha {{applicationName}}", "application": "Słucha {{applicationName}}",
"artist": "Słucha {artist}",
"title": "Słucha {song title}" "title": "Słucha {song title}"
} }
} }

View File

@ -1,7 +1,7 @@
import path from 'node:path'; import path from 'node:path';
import process from 'node:process'; import process from 'node:process';
import { _electron as electron } from 'playwright';
import { test, expect } from '@playwright/test'; import { test, expect, _electron as electron } from '@playwright/test';
process.env.NODE_ENV = 'test'; process.env.NODE_ENV = 'test';
@ -32,7 +32,11 @@ test('Pear Desktop App - With default settings, app is launched and visible', as
// expect(title.replaceAll(/\s/g, ' ')).toEqual('Pear Desktop'); // expect(title.replaceAll(/\s/g, ' ')).toEqual('Pear Desktop');
const url = window.url(); const url = window.url();
expect(url.startsWith('https://music.\u0079\u006f\u0075\u0074\u0075\u0062\u0065.com')).toBe(true); expect(
url.startsWith(
'https://music.\u0079\u006f\u0075\u0074\u0075\u0062\u0065.com',
),
).toBe(true);
await app.close(); await app.close();
}); });

View File

@ -25,7 +25,8 @@
"exclude": ["./dist"], "exclude": ["./dist"],
"include": [ "include": [
"electron.vite.config.mts", "electron.vite.config.mts",
"playwright.config.ts",
"./src/**/*", "./src/**/*",
"*.config.*js", "*.config.*js"
] ]
} }

8
tsconfig.test.json Normal file
View File

@ -0,0 +1,8 @@
{
"extends": "./tsconfig.json",
"exclude": ["./dist"],
"include": [
"playwright.config.ts",
"./tests/**/*"
]
}