diff options
Diffstat (limited to 'polygerrit-ui/app/elements/diff/gr-syntax-layer/gr-syntax-layer_test.html')
-rw-r--r-- | polygerrit-ui/app/elements/diff/gr-syntax-layer/gr-syntax-layer_test.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/polygerrit-ui/app/elements/diff/gr-syntax-layer/gr-syntax-layer_test.html b/polygerrit-ui/app/elements/diff/gr-syntax-layer/gr-syntax-layer_test.html index 98a6f8e9d5..f2458fcbd1 100644 --- a/polygerrit-ui/app/elements/diff/gr-syntax-layer/gr-syntax-layer_test.html +++ b/polygerrit-ui/app/elements/diff/gr-syntax-layer/gr-syntax-layer_test.html @@ -1,5 +1,6 @@ <!DOCTYPE html> <!-- +@license Copyright (C) 2016 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); @@ -184,7 +185,7 @@ limitations under the License. const mockHLJS = getMockHLJS(); const highlightSpy = sinon.spy(mockHLJS, 'highlight'); - sandbox.stub(element.$.libLoader, 'get', + sandbox.stub(element.$.libLoader, 'getHLJS', () => { return Promise.resolve(mockHLJS); }); const processNextSpy = sandbox.spy(element, '_processNextLine'); const processPromise = element.process(); |