Skip to content

Commit e59241d

Browse files
committed
chore: combine tests
1 parent 04d85ba commit e59241d

File tree

2 files changed

+13
-12
lines changed
  • .github/workflows
  • test/e2e/edge-compiler-can-import-blob-assets/app/pages/api

2 files changed

+13
-12
lines changed

.github/workflows/e2e-next.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,12 @@ jobs:
7676
- uses: actions/download-artifact@v3
7777
with:
7878
path: reports
79+
- name: Combine reports
80+
run: npx junit-report-merger combined.xml reports/**/*.xml
7981
- uses: phoenix-actions/test-reporting@v10
8082
with:
8183
name: Jest Tests
8284
output-to: 'step-summary'
83-
path: 'reports/**/*.xml' # Path to test results (inside artifact .zip)
84-
max-annotations: 0 # Maximum number of annotations to be created
85-
reporter: jest-junit # Format of test results
85+
path: 'combined.xml'
86+
max-annotations: 0 # Annotations were done in the test steps
87+
reporter: jest-junit

test/e2e/edge-compiler-can-import-blob-assets/app/pages/api/edge.js

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ const handlers = new Map([
2727
return fetch(url)
2828
},
2929
],
30-
[
31-
'from-node-module',
32-
async () => {
33-
const url = new URL('my-pkg/hello/world.json', import.meta.url)
34-
return fetch(url)
35-
},
36-
],
30+
// [
31+
// 'from-node-module',
32+
// async () => {
33+
// const url = new URL('my-pkg/hello/world.json', import.meta.url)
34+
// return fetch(url)
35+
// },
36+
// ],
3737
[
3838
'remote-full',
3939
async () => {
@@ -50,5 +50,4 @@ const handlers = new Map([
5050
],
5151
])
5252

53-
const defaultHandler = async () =>
54-
new Response('Invalid handler', { status: 400 })
53+
const defaultHandler = async () => new Response('Invalid handler', { status: 400 })

0 commit comments

Comments
 (0)