~endlessm/jasmine-gjs/trunk

« back to all changes in this revision

Viewing changes to test/timerSpec.js

  • Committer: Philip Chimento
  • Date: 2020-08-15 18:13:47 UTC
  • Revision ID: git-v1:452c83fe6c924d5b94315b98e189441971960dc2
let -> const

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
describe('The default timer', function () {
6
6
    it('stops timing when elapsed() is called', function () {
7
 
        let timer = Timer.createDefaultTimer();
 
7
        const timer = Timer.createDefaultTimer();
8
8
        timer.start();
9
9
        expect(timer.elapsed()).toEqual(timer.elapsed());
10
10
    });