Files
TheGame/packages/backend/tests/lib/daoHausClient.test.ts
Matthew Cantelon 1dd17aaf3f Rebase
2021-08-31 22:11:50 -06:00

12 lines
325 B
TypeScript

import { getClient } from '../../src/lib/daoHausClient';
describe('daoHausClient', () => {
it('should throw error for unknown chain', () => {
expect(() => getClient('garbage')).toThrow();
});
it('should return a client when chain is configured', () => {
expect(getClient('ethereum')).toBeDefined();
});
});