Skip to content

Commit fcfead0

Browse files
committed
add more tests and improve config
1 parent f656b5a commit fcfead0

File tree

43 files changed

+271
-31
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+271
-31
lines changed

exercises/01.init/01.problem.static/tests/playwright.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ const PORT = process.env.PORT || '3000'
77
const tmpDir = path.join(os.tmpdir(), 'epicreact-server-components')
88

99
export default defineConfig({
10+
timeout: 10000,
11+
expect: {
12+
timeout: 5000,
13+
},
1014
outputDir: path.join(tmpDir, 'playwright-test-output'),
1115
reporter: [
1216
[

exercises/01.init/01.solution.static/tests/playwright.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ const PORT = process.env.PORT || '3000'
77
const tmpDir = path.join(os.tmpdir(), 'epicreact-server-components')
88

99
export default defineConfig({
10+
timeout: 10000,
11+
expect: {
12+
timeout: 5000,
13+
},
1014
outputDir: path.join(tmpDir, 'playwright-test-output'),
1115
reporter: [
1216
[

exercises/02.server-components/01.problem.rsc/tests/playwright.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ const PORT = process.env.PORT || '3000'
77
const tmpDir = path.join(os.tmpdir(), 'epicreact-server-components')
88

99
export default defineConfig({
10+
timeout: 10000,
11+
expect: {
12+
timeout: 5000,
13+
},
1014
outputDir: path.join(tmpDir, 'playwright-test-output'),
1115
reporter: [
1216
[

exercises/02.server-components/01.solution.rsc/tests/playwright.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ const PORT = process.env.PORT || '3000'
77
const tmpDir = path.join(os.tmpdir(), 'epicreact-server-components')
88

99
export default defineConfig({
10+
timeout: 10000,
11+
expect: {
12+
timeout: 5000,
13+
},
1014
outputDir: path.join(tmpDir, 'playwright-test-output'),
1115
reporter: [
1216
[

exercises/02.server-components/02.problem.async-components/tests/playwright.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ const PORT = process.env.PORT || '3000'
77
const tmpDir = path.join(os.tmpdir(), 'epicreact-server-components')
88

99
export default defineConfig({
10+
timeout: 10000,
11+
expect: {
12+
timeout: 5000,
13+
},
1014
outputDir: path.join(tmpDir, 'playwright-test-output'),
1115
reporter: [
1216
[

exercises/02.server-components/02.solution.async-components/tests/playwright.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ const PORT = process.env.PORT || '3000'
77
const tmpDir = path.join(os.tmpdir(), 'epicreact-server-components')
88

99
export default defineConfig({
10+
timeout: 10000,
11+
expect: {
12+
timeout: 5000,
13+
},
1014
outputDir: path.join(tmpDir, 'playwright-test-output'),
1115
reporter: [
1216
[

exercises/02.server-components/03.problem.streaming/tests/playwright.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ const PORT = process.env.PORT || '3000'
77
const tmpDir = path.join(os.tmpdir(), 'epicreact-server-components')
88

99
export default defineConfig({
10+
timeout: 10000,
11+
expect: {
12+
timeout: 5000,
13+
},
1014
outputDir: path.join(tmpDir, 'playwright-test-output'),
1115
reporter: [
1216
[

exercises/02.server-components/03.solution.streaming/tests/playwright.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ const PORT = process.env.PORT || '3000'
77
const tmpDir = path.join(os.tmpdir(), 'epicreact-server-components')
88

99
export default defineConfig({
10+
timeout: 10000,
11+
expect: {
12+
timeout: 5000,
13+
},
1014
outputDir: path.join(tmpDir, 'playwright-test-output'),
1115
reporter: [
1216
[

exercises/02.server-components/04.problem.server-context/tests/playwright.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ const PORT = process.env.PORT || '3000'
77
const tmpDir = path.join(os.tmpdir(), 'epicreact-server-components')
88

99
export default defineConfig({
10+
timeout: 10000,
11+
expect: {
12+
timeout: 5000,
13+
},
1014
outputDir: path.join(tmpDir, 'playwright-test-output'),
1115
reporter: [
1216
[

exercises/02.server-components/04.solution.server-context/tests/playwright.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ const PORT = process.env.PORT || '3000'
77
const tmpDir = path.join(os.tmpdir(), 'epicreact-server-components')
88

99
export default defineConfig({
10+
timeout: 10000,
11+
expect: {
12+
timeout: 5000,
13+
},
1014
outputDir: path.join(tmpDir, 'playwright-test-output'),
1115
reporter: [
1216
[

0 commit comments

Comments
 (0)