• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!--
2Copyright 2014 The Chromium Authors. All rights reserved.
3Use of this source code is governed by a BSD-style license that can be
4found in the LICENSE file.
5-->
6
7<link rel="import" href="../ct-scheduled-updater.html">
8
9<script>
10
11(function () {
12
13var assert = chai.assert;
14
15describe('ct-scheduled-updater', function() {
16  it('basic update', function(done) {
17    var onUpdate = function() {
18      // Clear the interval so  we don't keep running this code during other tests.
19      clearInterval(updater._intervalId);
20      assert(true);
21      done();
22    };
23
24    var updater = new CTScheduledUpdater(onUpdate, 0);
25  });
26});
27
28})();
29
30</script>
31