Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Diff isn't showing for object in array #106

Open
vedtam opened this issue Nov 13, 2019 · 0 comments
Open

Diff isn't showing for object in array #106

vedtam opened this issue Nov 13, 2019 · 0 comments

Comments

@vedtam
Copy link

vedtam commented Nov 13, 2019

Hi,

I'm trying to figure out why no diff is displayed for the bellow test:

  const expected = {
      type: 'UPDATE_LOCATION',
      route: {
        0: 'foo'
      }
    };

    it('Will forward the member to the story page after login', function() {

      const actual = [
        {
           type: 'UPDATE_LOCATION',
           route: {
              0: 'story'
           }
        }
      ];

  actual.should.deep.include(expected);

results in:

Screen Shot 2019-11-13 at 12 45 43

"karma": "^4.0.0"
"karma-mocha": "^1.3.0"
"karma-mocha-reporter": "^2.2.5"

Thanks!

@vedtam vedtam changed the title Diff isn't showing Diff isn't showing for object in array Nov 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant