feat: remove Learning module
This commit is contained in:
1 parent
bdc290c2cf
commit
bd0873f348
39 files changed
+104
-2278
No files matched your search
@@ -115,10 +115,10 @@ describe('auth host api routes', () => {
|
||||
moduleAccess: {
|
||||
programming: false,
|
||||
design: true,
|
||||
learning: false,
|
||||
robot: true,
|
||||
},
|
||||
});
|
||||
expect(response.json()).not.toHaveProperty('moduleAccess.learning');
|
||||
expect(JSON.stringify(response.json())).not.toContain('must-not-reach-renderer');
|
||||
expect(fetchMock).toHaveBeenCalledWith(
|
||||
'https://square.nianxx.cn/api/auth/me',
|
||||
@@ -161,7 +161,6 @@ describe('auth host api routes', () => {
|
||||
moduleAccess: {
|
||||
programming: true,
|
||||
design: true,
|
||||
learning: true,
|
||||
robot: true,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user