mirror of
https://github.com/zen-browser/www.git
synced 2025-07-07 17:05:32 +02:00
feat(tests): integrate Playwright and Vitest for testing, add CI pipeline, and update dependencies
- Added Playwright configuration for end-to-end testing. - Integrated Vitest for unit testing with setup files. - Updated package.json scripts for testing commands. - Created CI pipeline for automated testing and builds. - Added various test cases for components and pages. - Updated .gitignore to exclude Playwright and coverage. - Enhanced ModsList component with additional class for styling.
This commit is contained in:
parent
966da54a29
commit
133bbc20be
20 changed files with 2339 additions and 152 deletions
|
@ -3,6 +3,13 @@
|
|||
* Returns a mapping from filename to checksum.
|
||||
*/
|
||||
export async function getChecksums() {
|
||||
if (import.meta.env.DEV) {
|
||||
return {
|
||||
'zen.macos-universal.dmg': 'macsum',
|
||||
'zen.installer.exe': 'winsum',
|
||||
'zen.installer-arm64.exe': 'winarmsum',
|
||||
}
|
||||
}
|
||||
const res = await fetch('https://api.github.com/repos/zen-browser/desktop/releases/latest', {
|
||||
headers: {
|
||||
Accept: 'application/vnd.github+json',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue