-
Notifications
You must be signed in to change notification settings - Fork 14
chore(release): bump desktop version to v2026.5.18 #706
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -8,6 +8,7 @@ import { | |||||
| } from "./renderer-diagnostics" | ||||||
|
|
||||||
| let roots: string[] = [] | ||||||
| const posixPermissionsTest = process.platform === "win32" ? test.skip : test | ||||||
|
|
||||||
| async function tempRoot() { | ||||||
| const root = await mkdtemp(join(tmpdir(), "pawwork-renderer-diagnostics-")) | ||||||
|
|
@@ -170,7 +171,7 @@ describe("renderer diagnostics recorder", () => { | |||||
| expect(content).toContain("msg_11") | ||||||
| }) | ||||||
|
|
||||||
| test("retention keeps the log intact when the existing file cannot be read", async () => { | ||||||
| posixPermissionsTest("retention keeps the log intact when the existing file cannot be read", async () => { | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Instead of using a custom alias, leverage Bun's built-in test.if() modifier. This approach is more idiomatic and ensures that other test modifiers (such as .only or .skip) behave consistently across all platforms, which aligns with the repository rule regarding test function wrappers.
Suggested change
References
|
||||||
| const root = await tempRoot() | ||||||
| const recorder = createRendererDiagnosticsRecorder({ | ||||||
| root, | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This custom alias can be removed in favor of using Bun's built-in test.if() modifier directly on the test case. This is more idiomatic and avoids the need for manual wrapping of test functions, ensuring consistency with modifiers like .only and .skip.
References