update loadPath #50
main.yml
on: push
cache-and-install
18s
Linting js/ts and scss
32s
Unit testing
31s
Regrassion testing
1m 44s
Build
0s
Annotations
4 errors
src/entities/Session/model/slice/sessionSlice.test.ts > sessionSlice > should return the initial state:
src/entities/Session/model/slice/sessionSlice.test.ts#L10
AssertionError: expected { loading: 'idle', …(3) } to deeply equal { Object (loading, id, ...) }
- Expected
+ Received
Object {
+ "data": undefined,
"error": undefined,
- "id": undefined,
- "isAuthenticated": false,
"loading": "idle",
"sessionInited": false,
- "token": undefined,
- "username": undefined,
}
❯ src/entities/Session/model/slice/sessionSlice.test.ts:10:19
|
src/entities/Session/model/slice/sessionSlice.test.ts > sessionSlice > should return the session data from a local storage:
src/entities/Session/model/slice/sessionSlice.test.ts#L36
AssertionError: expected { data: { id: '1', …(4) }, …(1) } to deeply equal { id: '1', username: 'Tomas', …(3) }
- Expected
+ Received
Object {
+ "data": Object {
"id": "1",
"isAuthenticated": true,
"sessionInited": true,
"token": "***",
"username": "Tomas",
+ },
+ "sessionInited": true,
}
❯ src/entities/Session/model/slice/sessionSlice.test.ts:36:19
|
Unit testing
Process completed with exit code 1.
|
Regrassion testing
non-zero exit code
|