Skip to content

Commit a200b71

Browse files
committed
update unit tests
1 parent a49f564 commit a200b71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/pwa-kit-extension-sdk/src/react/classes/ApplicationExtension.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ describe('ApplicationExtension', () => {
129129
})
130130

131131
describe('serializeAsyncRoutes', () => {
132-
it('should return null if getRoutesAsync is not defined', () => {
132+
it('should return empty array if getRoutesAsync is not defined', () => {
133133
const result = extension.serializeAsyncRoutes()
134-
expect(result).toBeNull()
134+
expect(result).toEqual([])
135135
})
136136

137137
it('should serialize routes correctly', async () => {

0 commit comments

Comments
 (0)