mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 02:00:43 +00:00
Fixes linting violations
This commit is contained in:
@@ -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('');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user