Skip to content

Commit 655c2ee

Browse files
chore: unit test feedback on optional chaining
Co-authored-by: Copilot <[email protected]>
1 parent 1f348ed commit 655c2ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-app/app/src/main/assets/app/tests/testESModules.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,5 +163,5 @@ async function runESModuleTests() {
163163

164164
// Run the tests immediately (avoid top-level await for broader runtime support)
165165
runESModuleTests().catch((e) => {
166-
console.error("ES Module top-level failure:", e && e.message ? e.message : e);
166+
console.error("ES Module top-level failure:", e?.message ?? e);
167167
});

0 commit comments

Comments
 (0)