Skip to content

Commit e3a595f

Browse files
committed
Fix e2e tests.
1 parent f3677b5 commit e3a595f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

examples/basic-vanilla-esm/index.e2e.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ test('Hello Electron', async () => {
1515
});
1616

1717
const window = await electronApp.firstWindow();
18-
await window.waitForEvent('load');
1918
expect(await window.title()).toBe('Hello from Electron renderer!');
2019

2120
const response = await window.textContent('[data-testid="greeting"]');

examples/basic-vanilla-esm/src/index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ async function writeGreeting() {
1818
}
1919

2020
async function listenForSubscription() {
21-
trpcReact.subscription.subscribe(undefined, {
21+
trpc.subscription.subscribe(undefined, {
2222
onData: (data) => {
2323
console.log(data);
2424
},

0 commit comments

Comments
 (0)