diff options
author | gfyoung <gfyoung17@gmail.com> | 2018-06-15 18:58:27 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-06-15 18:58:27 +0300 |
commit | bce890820f6ed0e75537b546d5ef1a0090c53b52 (patch) | |
tree | a47c9f036bd4c52f74ffeded70c418f23ba57ae8 /spec/javascripts/commits_spec.js | |
parent | 72770e609d755a1abe304025424b8a90b7337842 (diff) |
Enable no-restricted-globals in JS files
Diffstat (limited to 'spec/javascripts/commits_spec.js')
-rw-r--r-- | spec/javascripts/commits_spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/commits_spec.js b/spec/javascripts/commits_spec.js index 60d100e8544..28b89157bd3 100644 --- a/spec/javascripts/commits_spec.js +++ b/spec/javascripts/commits_spec.js @@ -56,7 +56,7 @@ describe('Commits List', () => { beforeEach(() => { commitsList.searchField.val(''); - spyOn(history, 'replaceState').and.stub(); + spyOn(window.history, 'replaceState').and.stub(); mock = new MockAdapter(axios); mock.onGet('/h5bp/html5-boilerplate/commits/master').reply(200, { |