Last active
January 11, 2018 09:07
-
-
Save sharvit/559dbeec83239a9fc9bd77e39dc2c579 to your computer and use it in GitHub Desktop.
error while running test on foreman axios branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 11): Error: expect(received).toEqual(expected) | |
Expected value to equal: | |
[{"payload": {"id": "operatingsystem", "search": "/hosts?search=os_title=~VAL~", "title": "OS Distribution", "url": "statistics/operatingsystem"}, "type": "STATISTICS_DATA_REQUEST"}, {"payload": {"id": "architecture", "search": "/hosts?search=facts.architecture=~VAL~", "title": "Architecture Distribution", "url": "statistics/architecture"}, "type": "STATISTICS_DATA_REQUEST"}, {"payload": {"data": [["centOS 7.1", 6]], "id": "operatingsystem", "search": "/hosts?search=os_title=~VAL~", "title": "OS Distribution", "url": "statistics/operatingsystem"}, "type": "STATISTICS_DATA_SUCCESS"}, {"payload": {"data": [["x86_64", 6]], "id": "architecture", "search": "/hosts?search=facts.architecture=~VAL~", "title": "Architecture Distribution", "url": "statistics/architecture"}, "type": "STATISTICS_DATA_SUCCESS"}] | |
Received: | |
+ Array [] | |
Difference: | |
- Expected | |
+ Received | |
-Array [ | |
- Object { | |
- "payload": Object { | |
- "id": "operatingsystem", | |
- "search": "/hosts?search=os_title=~VAL~", | |
- "title": "OS Distribution", | |
- "url": "statistics/operatingsystem", | |
- }, | |
- "type": "STATISTICS_DATA_REQUEST", | |
- }, | |
- Object { | |
- "payload": Object { | |
- "id": "architecture", | |
- "search": "/hosts?search=facts.architecture=~VAL~", | |
- "title": "Architecture Distribution", | |
- "url": "statistics/architecture", | |
- }, | |
- "type": "STATISTICS_DATA_REQUEST", | |
- }, | |
- Object { | |
- "payload": Object { | |
- "data": Array [ | |
- Array [ | |
- "centOS 7.1", | |
- 6, | |
- ], | |
- ], | |
- "id": "operatingsystem", | |
- "search": "/hosts?search=os_title=~VAL~", | |
- "title": "OS Distribution", | |
- "url": "statistics/operatingsystem", | |
- }, | |
- "type": "STATISTICS_DATA_SUCCESS", | |
- }, | |
- Object { | |
- "payload": Object { | |
- "data": Array [ | |
- Array [ | |
- "x86_64", | |
- 6, | |
- ], | |
- ], |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment