diff --git a/src/parser/ShogunApplicationUtil.spec.ts b/src/parser/SHOGunApplicationUtil.spec.ts similarity index 96% rename from src/parser/ShogunApplicationUtil.spec.ts rename to src/parser/SHOGunApplicationUtil.spec.ts index 876c262d3..51d49a486 100644 --- a/src/parser/ShogunApplicationUtil.spec.ts +++ b/src/parser/SHOGunApplicationUtil.spec.ts @@ -12,14 +12,14 @@ import { getUid } from 'ol/util'; import Application from '../model/Application'; import Layer from '../model/Layer'; -import ShogunApplicationUtil from './ShogunApplicationUtil'; +import SHOGunApplicationUtil from './SHOGunApplicationUtil'; -describe('ShogunApplicationUtil', () => { +describe('SHOGunApplicationUtil', () => { let fetchMock: jest.SpyInstance; - let util: ShogunApplicationUtil; + let util: SHOGunApplicationUtil; beforeEach(() => { - util = new ShogunApplicationUtil(); + util = new SHOGunApplicationUtil(); }); afterEach(() => { @@ -30,7 +30,7 @@ describe('ShogunApplicationUtil', () => { }); it('is defined', () => { - expect(ShogunApplicationUtil).toBeDefined(); + expect(SHOGunApplicationUtil).toBeDefined(); }); it('creates a mapView', async () => { diff --git a/src/parser/ShogunApplicationUtil.ts b/src/parser/SHOGunApplicationUtil.ts similarity index 98% rename from src/parser/ShogunApplicationUtil.ts rename to src/parser/SHOGunApplicationUtil.ts index d16773777..42cbec321 100644 --- a/src/parser/ShogunApplicationUtil.ts +++ b/src/parser/SHOGunApplicationUtil.ts @@ -36,15 +36,15 @@ import SHOGunAPIClient from '../service/SHOGunAPIClient'; import { getBearerTokenHeader } from '../security/getBearerTokenHeader'; -export interface ShogunApplicationUtilOpts { +export interface SHOGunApplicationUtilOpts { client?: SHOGunAPIClient; } -class ShogunApplicationUtil { +class SHOGunApplicationUtil { private client: SHOGunAPIClient | undefined; - constructor(opts?: ShogunApplicationUtilOpts) { + constructor(opts?: SHOGunApplicationUtilOpts) { // TODO Default client? this.client = opts?.client; } @@ -438,4 +438,4 @@ class ShogunApplicationUtil { } } -export default ShogunApplicationUtil; +export default SHOGunApplicationUtil;