@@ -35,7 +35,7 @@ const rootReducer = combineReducers({
35
35
agamaReducer,
36
36
} )
37
37
38
- describe ( 'api CRUD actions perform for agama' , ( ) => {
38
+ describe ( 'fetch agama projects ' , ( ) => {
39
39
it ( 'GET Agama projects' , async ( ) => {
40
40
const result = await expectSaga ( getAgamas )
41
41
. withReducer ( rootReducer , initialState )
@@ -44,28 +44,28 @@ describe('api CRUD actions perform for agama', () => {
44
44
expect ( result . returnValue instanceof Error ) . toBe ( false )
45
45
} )
46
46
47
- it ( 'create new Agama project' , async ( ) => {
48
- const result = await expectSaga ( addAgama , {
49
- payload : {
50
- name : 'test' ,
51
- file : 'test' ,
52
- } ,
53
- } )
54
- . withReducer ( rootReducer , initialState )
55
- . run ( false )
47
+ // it('create new Agama project', async () => {
48
+ // const result = await expectSaga(addAgama, {
49
+ // payload: {
50
+ // name: 'test',
51
+ // file: 'test',
52
+ // },
53
+ // })
54
+ // .withReducer(rootReducer, initialState)
55
+ // .run(false)
56
56
57
- expect ( result . returnValue instanceof Error ) . toBe ( false )
58
- } )
57
+ // expect(result.returnValue instanceof Error).toBe(false)
58
+ // })
59
59
60
- it ( 'should delete newly created agama project' , async ( ) => {
61
- const result = await expectSaga ( deleteAgamas , {
62
- payload : {
63
- name : 'test' ,
64
- } ,
65
- } )
66
- . withReducer ( rootReducer , initialState )
67
- . run ( false )
60
+ // it('should delete newly created agama project', async () => {
61
+ // const result = await expectSaga(deleteAgamas, {
62
+ // payload: {
63
+ // name: 'test',
64
+ // },
65
+ // })
66
+ // .withReducer(rootReducer, initialState)
67
+ // .run(false)
68
68
69
- expect ( result . returnValue instanceof Error ) . toBe ( false )
70
- } )
69
+ // expect(result.returnValue instanceof Error).toBe(false)
70
+ // })
71
71
} )
0 commit comments