Skip to content

Commit

Permalink
fix(files): clean git cache of duplicate casing
Browse files Browse the repository at this point in the history
  • Loading branch information
atticusofsparta committed Feb 14, 2024
1 parent b5da0ab commit e9eaa2d
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
Empty file modified .husky/commit-msg
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion src/common/ArIo.ts → src/common/ArIO.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { RESPONSE_RETRY_CODES } from '../constants.js';
import { ContractStateProvider } from '../types.js';
import { DefaultLogger } from './logger.js';

export class ArIo implements ContractStateProvider {
export class ArIO implements ContractStateProvider {
private contractStateProvider: ContractStateProvider;
http: AxiosInstance;
logger: DefaultLogger;
Expand Down
2 changes: 1 addition & 1 deletion src/common/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
export * from './ArIo.js';
export * from './ArIO.js';
export * from './ContractStateProviders/index.js';
export * from './error.js';
export * from './logger.js';
10 changes: 5 additions & 5 deletions tests/ArIo.test.ts → tests/ArIO.test.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { ArIo } from '../src/common/ArIo.js';
import { ArIO } from '../src/common/ArIO.js';
import { ArNSRemoteCache } from '../src/common/ContractStateProviders/ArNSRemoteCache.js';

describe('ArIo Client', () => {
describe('ArIO Client', () => {
const remoteCacheProvider = new ArNSRemoteCache({});
const arioClient = new ArIo({
const arioClient = new ArIO({
contractStateProvider: remoteCacheProvider,
});

it('should create an ArIo client', () => {
expect(arioClient).toBeInstanceOf(ArIo);
it('should create an ArIO client', () => {
expect(arioClient).toBeInstanceOf(ArIO);
});
});
8 changes: 4 additions & 4 deletions tests/ArNSRemoteCache.test.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import { ArIo } from '../src/common/ArIo.js';
import { ArIO } from '../src/common/ArIO.js';
import { ArNSRemoteCache } from '../src/common/ContractStateProviders/ArNSRemoteCache.js';
import { BadRequest } from '../src/common/error.js';

describe('ArIo Client', () => {
describe('ArIO Client', () => {
const remoteCacheProvider = new ArNSRemoteCache({});
const arioClient = new ArIo({
const arioClient = new ArIO({
contractStateProvider: remoteCacheProvider,
});

it('should call remote state provider', async () => {
const remoteProvider = new ArNSRemoteCache({});
const client = new ArIo({
const client = new ArIO({
contractStateProvider: remoteProvider,
});

Expand Down

0 comments on commit e9eaa2d

Please sign in to comment.