Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2593)

Unified Diff: Tools/GardeningServer/ui/test/ct-last-updated-tests.html

Issue 462453002: Sheriff-O-Matic: Transition more unit tests to mocha. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase and fix Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Tools/GardeningServer/ui/test/ct-failure-analyzer-tests.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/ui/test/ct-last-updated-tests.html
diff --git a/Tools/GardeningServer/ui/test/ct-last-updated-tests.html b/Tools/GardeningServer/ui/test/ct-last-updated-tests.html
index b4aaec06dbdfbe6c569a87fe3679acd3f2623baa..80750ab01f3d8be7efe5996e189dbe867088b527 100644
--- a/Tools/GardeningServer/ui/test/ct-last-updated-tests.html
+++ b/Tools/GardeningServer/ui/test/ct-last-updated-tests.html
@@ -9,7 +9,7 @@ found in the LICENSE file.
<script>
(function() {
-var expect = chai.expect;
+var assert = chai.assert;
describe('ct-last-updated', function() {
var builder;
@@ -25,7 +25,7 @@ describe('ct-last-updated', function() {
it('should have correct text', function() {
var expected = 'Updated 5 min ago @ ' + builder.date.getHours() + ':' +
builder.date.getMinutes();
- expect(builder.shadowRoot.innerHTML.trim()).to.equal(expected);
+ assert.equal(builder.shadowRoot.innerHTML.trim(), expected);
});
});
});
« no previous file with comments | « Tools/GardeningServer/ui/test/ct-failure-analyzer-tests.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698