refactor(facade): remove useless facades

This commit is contained in:
Victor Berchet
2016-09-18 15:39:26 -07:00
committed by Chuck Jazdzewski
parent e82a78e641
commit 7e5413da89
24 changed files with 91 additions and 159 deletions

View File

@ -35,7 +35,7 @@ export function main() {
describe('initialization', () => {
it('should merge values in provided dictionary', () => {
var headers = new Headers({'foo': 'bar'});
const headers = new Headers({'foo': 'bar'});
expect(headers.get('foo')).toBe('bar');
expect(headers.getAll('foo')).toEqual(['bar']);
});
@ -52,7 +52,7 @@ export function main() {
describe('.set()', () => {
it('should clear all values and re-set for the provided key', () => {
var headers = new Headers({'foo': 'bar'});
const headers = new Headers({'foo': 'bar'});
expect(headers.get('foo')).toBe('bar');
expect(headers.getAll('foo')).toEqual(['bar']);
headers.set('foo', 'baz');