| OLD | NEW |
| 1 // Copyright 2014 The Chromium OS Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 'use strict'; | 5 'use strict'; |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * Force to show stack trace for assertions. | 8 * Force to show stack trace for assertions. |
| 9 * @type {boolean} | 9 * @type {boolean} |
| 10 */ | 10 */ |
| 11 chai.config.includeStack = true; | 11 chai.config.includeStack = true; |
| (...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 673 it('should not call onSuccess', function() { | 673 it('should not call onSuccess', function() { |
| 674 expect(onSuccessSpy.called).to.be.false; | 674 expect(onSuccessSpy.called).to.be.false; |
| 675 }); | 675 }); |
| 676 | 676 |
| 677 it('should call the decompressor with correct request', function() { | 677 it('should call the decompressor with correct request', function() { |
| 678 expect(onErrorSpy.calledWith('INVALID_OPERATION')).to.be.true; | 678 expect(onErrorSpy.calledWith('INVALID_OPERATION')).to.be.true; |
| 679 }); | 679 }); |
| 680 }); // Test onReadFileRequested. | 680 }); // Test onReadFileRequested. |
| 681 }); // Valid metadata. | 681 }); // Valid metadata. |
| 682 }); | 682 }); |
| OLD | NEW |