Fixes linting violations

This commit is contained in:
Simon Howe
2015-12-15 16:14:28 +01:00
parent 3e2e92ecbd
commit 6ddd2ed9ff

View File

@@ -7,19 +7,19 @@ describe('WebApiUtils', function() {
const basePath = WebApiUtils.basePath;
it('should handle /scope/terminal.html', function() {
expect(basePath("/scope/terminal.html")).toBe("/scope");
expect(basePath('/scope/terminal.html')).toBe('/scope');
});
it('should handle /scope/', function() {
expect(basePath("/scope/")).toBe("/scope");
expect(basePath('/scope/')).toBe('/scope');
});
it('should handle /scope', function() {
expect(basePath("/scope")).toBe("/scope");
expect(basePath('/scope')).toBe('/scope');
});
it('should handle /', function() {
expect(basePath("/")).toBe("");
expect(basePath('/')).toBe('');
});
});
});