mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-04-24 03:00:09 -04:00
12 lines
325 B
TypeScript
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();
|
|
});
|
|
});
|