ui: fix tests broken by d3-format upgrade
This commit is contained in:
parent
6cdc5f349a
commit
e21dd8c256
|
@ -113,9 +113,10 @@ module('Integration | Component | das/recommendation-card', function(hooks) {
|
|||
assert.ok(RecommendedMemory.isIncrease);
|
||||
});
|
||||
|
||||
assert.equal(RecommendationCard.totalsTable.unitDiff.cpu, '−75 MHz');
|
||||
assert.equal(RecommendationCard.totalsTable.unitDiff.cpu, '-75 MHz');
|
||||
assert.equal(RecommendationCard.totalsTable.unitDiff.memory, '+128 MiB');
|
||||
|
||||
// Expected signal has a minus character, not a hyphen.
|
||||
assert.equal(RecommendationCard.totalsTable.percentDiff.cpu, '−27%');
|
||||
assert.equal(RecommendationCard.totalsTable.percentDiff.memory, '+33%');
|
||||
|
||||
|
|
Loading…
Reference in New Issue