We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91e79a6 commit d6f59d0Copy full SHA for d6f59d0
1 file changed
src/data/api.test.ts
@@ -31,4 +31,14 @@ describe('legacy libraries migration API', () => {
31
expect(axiosMock.history.post[0].url).toEqual(url);
32
});
33
34
+
35
+ describe('getPreviewModulestoreMigration', () => {
36
+ it('should call get preview modulestore migration', async () => {
37
+ const url = api.getPreviewModulestoreMigrationUrl();
38
+ axiosMock.onGet(url).reply(200);
39
+ await api.getPreviewModulestoreMigration('1', '2');
40
41
+ expect(axiosMock.history.get[0].url).toEqual(url);
42
+ });
43
44
0 commit comments