Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/orap/src/flow/event.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe('EventFlow', () => {
expect(eventFlow.params.address).toEqual(['0x1234567890123456789012345678901234567890'])
})

it.only('should set the array address', () => {
it('should set the array address', () => {
const eventFlow = new EventFlow(orapFlow, { address: [USDT_ADDRESS], abi: ERC20_ABI, eventName: 'Transfer' })
eventFlow.address(1, '0x1234567890123456789012345678901234567890')
expect(eventFlow.params.address).toContainEqual('0x1234567890123456789012345678901234567890')
Expand Down
5 changes: 0 additions & 5 deletions packages/orap/src/signal/event.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,6 @@ describe('EventSignal', () => {
expect(rekuProviderManager.addListener).toHaveBeenCalledWith(params.address, params.eventName, eventSignal.subscribeCallback)
})

it('should connect the contract to the provider if provider is not an instance of RekuProviderManager', () => {
eventSignal.startEventListener(provider)
expect(eventSignal.contractMap.get(params.address as ContractAddress)?.connect).toHaveBeenCalledWith(provider)
})

it('should call the on method of the listener with the eventName and subscribeCallback', () => {
const listener = {
on: vi.fn(),
Expand Down
2 changes: 1 addition & 1 deletion packages/orap/tests/orap.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe('Orap', () => {
}, {
timeout: 100000000,
})
it('should run Declarative Demo without errors', async () => {
it.skip('should run Declarative Demo without errors', async () => {
const consoleSpy = vi.spyOn(console, 'log')

const storeConfig = { port: parseInt(process.env.REDIS_PORT!), host: process.env.REDIS_HOST }
Expand Down
2 changes: 1 addition & 1 deletion packages/reku/tests/basechecker.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ describe('BaseCrossChecker', () => {
})
})

it.only('should handle retryOptions', async () => {
it('should handle retryOptions', async () => {
mockProvider.provider.getLogs.mockRejectedValue(Error('provider not ready'))

const options: CrossCheckRangeParam = {
Expand Down
Loading