Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
Q.deepEqual(data['d.name'].values, [
{
"newValue": "foo",
"oldValue": "marvin"
}
], '"d.name" values are as expected');
Q.deepEqual(data['d.name'].descriptions, [
"name in data changed"
], '"d.name" descriptions are as expected');
Q.deepEqual(data['od.name'].values, [
{
"newValue": "foo",
"oldValue": "pookie"
}
], '"od.name" values are as expected');
Q.deepEqual(data['od.name'].descriptions, [
"name in otherdata changed"
], '"od.name" descriptions are as expected');
});
scope.$apply(function () {
], '"foo" array values are as expected');
Q.deepEqual(data.foo.descriptions, [
"foo array changed",
"foo array changed",
"foo array changed"
], '"foo" descriptions are as expected');
Q.deepEqual(data['d.name'].values, [
{
"newValue": "foo",
"oldValue": "marvin"
}
], '"d.name" values are as expected');
Q.deepEqual(data['d.name'].descriptions, [
"name in data changed"
], '"d.name" descriptions are as expected');
Q.deepEqual(data['od.name'].values, [
{
"newValue": "foo",
"oldValue": "pookie"
}
], '"od.name" values are as expected');
Q.deepEqual(data['od.name'].descriptions, [
"name in otherdata changed"
], '"od.name" descriptions are as expected');
});
scope.$apply(function () {