Skip to content

Commit ac3ca1e

Browse files
committed
timeout and update .npmrc
1 parent 2068321 commit ac3ca1e

7 files changed

Lines changed: 15 additions & 15 deletions

File tree

.github/workflows/tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
install: false
4848
start: pnpm --filter tests start --host 127.0.0.1 --port 3000
4949
wait-on: "http://127.0.0.1:3000"
50+
wait-on-timeout: 120
5051
browser: chromium
5152

5253
- name: E2E Firefox
@@ -56,4 +57,5 @@ jobs:
5657
install: false
5758
start: pnpm --filter tests start --host 127.0.0.1 --port 3000
5859
wait-on: "http://127.0.0.1:3000"
60+
wait-on-timeout: 120
5961
browser: firefox

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.13.1
1+
22.19.0
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export async function* sayHello() {
2-
"use server";
3-
yield "Hello, World!";
4-
yield "¡Hola, Mundo!";
5-
}
2+
"use server";
3+
yield "Hello, World!";
4+
yield "¡Hola, Mundo!";
5+
}

apps/tests/src/functions/use-is-server-const.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
import { isServer } from "solid-js/web";
44

55
export const serverFnWithIsServer = async () => {
6-
return isServer;
7-
}
6+
return isServer;
7+
};
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { isServer } from "solid-js/web";
22

33
export function serverFnWithIsServer() {
4-
"use server";
5-
return isServer;
4+
"use server";
5+
return isServer;
66
}
77

88
export default function () {
9-
return null;
9+
return null;
1010
}
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
"use server";
22

3-
import { join } from 'node:path';
3+
import { join } from "node:path";
44

55
export function serverFnWithNodeBuiltin() {
6-
7-
return join('can','externalize');
6+
return join("can", "externalize");
87
}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
"use server";
22

3-
import _ from 'lodash';
3+
import _ from "lodash";
44

55
export function serverFnWithNpmModule() {
6-
76
return _.map([1, 2, 3], x => x * 2);
87
}

0 commit comments

Comments
 (0)