Skip to content

Conversation

@ujjwalchadha
Copy link
Contributor

No description provided.

@ujjwalchadha ujjwalchadha requested a review from dunhor April 28, 2021 23:00
const testObject = new TestComponent.TestObject(2);
const testObjectAsSerializable = testObject.asSerializable();
assert.equal(testObject, testObjectAsSerializable);
});
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With WinRT objects, assert.equal doesn't quite work as you'd expect. Instead do an assert.isTrue(lhs == rhs);

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW it tries to do property comparison instead of pointer comparison IIRC

@ujjwalchadha ujjwalchadha requested a review from dunhor April 29, 2021 00:24
Copy link
Member

@dunhor dunhor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

interface ISerializable
{
String Serialize();
};
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
};
}

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

Successfully merging this pull request may close these issues.

4 participants