Skip to content

Commit 8613899

Browse files
authored
fix test
1 parent 35e613f commit 8613899

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

test/e2e/interactions.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ test.describe('Compare Page', () => {
6767

6868
const body = await response.json()
6969
// The API should return a valid install size object, not an error
70-
expect(body).toHaveProperty('installSize')
70+
expect(body).toHaveProperty('selfSize')
71+
expect(body).toHaveProperty('totalSize')
7172
})
7273

7374
test('loads analysis data for a scoped package', async ({ page, goto }) => {
@@ -86,6 +87,7 @@ test.describe('Compare Page', () => {
8687

8788
const body = await response.json()
8889
expect(body).toHaveProperty('package', '@nuxt/kit')
90+
expect(body).toHaveProperty('moduleFormat', 'esm')
8991
})
9092

9193
test('compare grid shows data (not all dashes) for a scoped package', async ({ page, goto }) => {

0 commit comments

Comments
 (0)