Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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,
- - ],
- - ],
Add Comment
Please, Sign In to add comment