Closed AllanChain closed 4 years ago
grisome.client.js is easy to test. just pass options and head = [ link: [], meta: [] ].
grisome.client.js
head = [ link: [], meta: [] ]
We need extract some functions to ease unit testing from server API code.
For example, generateManifest, getWorkboxOptions
generateManifest
getWorkboxOptions
1 has done simple e2e testing. We need more unit testing to make the project more stable.
grisome.client.js
is easy to test. just pass options andhead = [ link: [], meta: [] ]
.We need extract some functions to ease unit testing from server API code.
For example,
generateManifest
,getWorkboxOptions