mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-28 01:21:13 +01:00
test: missing service worker test
This commit is contained in:
@@ -219,6 +219,7 @@ describe('Controllers', () => {
|
|||||||
{ it: 'should get topic data', url: `/api/v3/topics/1` },
|
{ it: 'should get topic data', url: `/api/v3/topics/1` },
|
||||||
{ it: 'should get category data', url: `/api/v3/categories/1` },
|
{ it: 'should get category data', url: `/api/v3/categories/1` },
|
||||||
{ it: 'should return osd data', url: `/osd.xml` },
|
{ it: 'should return osd data', url: `/osd.xml` },
|
||||||
|
{ it: 'should load service worker', url: '/service-worker.js' },
|
||||||
];
|
];
|
||||||
testRoutes.forEach((route) => {
|
testRoutes.forEach((route) => {
|
||||||
it(route.it, async () => {
|
it(route.it, async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user