Skip to content

Commit da67674

Browse files
committed
test: update tests for latest changes
1 parent f17e866 commit da67674

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/basic.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ describe('nuxt-component-preview module', async () => {
3535
responseType: 'text',
3636
})
3737

38-
// Check that cdnURL is used in window.__NUXT__.config
39-
expect(script).toContain('window.__NUXT__.config')
38+
// Check that cdnURL is set in the config
39+
expect(script).toContain('window.__NUXT__')
4040
expect(script).toContain('cdnURL:')
4141

4242
// Verify the cdnURL is properly set in the generated config

0 commit comments

Comments
 (0)