ui: fix tests broken by d3-format upgrade

This commit is contained in:
Luiz Aoqui 2021-11-04 19:07:55 -04:00
parent 6cdc5f349a
commit e21dd8c256
No known key found for this signature in database
GPG key ID: 29F459C0D9CBB573

View file

@ -113,9 +113,10 @@ module('Integration | Component | das/recommendation-card', function(hooks) {
assert.ok(RecommendedMemory.isIncrease); 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'); 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.cpu, '27%');
assert.equal(RecommendationCard.totalsTable.percentDiff.memory, '+33%'); assert.equal(RecommendationCard.totalsTable.percentDiff.memory, '+33%');