daostack / daostack/alchemy_2

tests should not generate console errors

Open
#29 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3
Forks
5
PR merge metrics
No merged PRs in 30d

Description

When I run Alchemy tests in "rewards.ts", not headless, so I can see the browser, I see in the browser console the errors below.

![image](https://user-images.githubusercontent.com/1821666/86822709-f566d180-c059-11ea-93a1-d98b2939357f.png)

The line that must be generating the console error is in arc.js, arc.ts:

```
if (abiName === 'GEN') {
abiName = 'DAOToken'
}
let artefact = abis[version][abiName || '']
if (artefact.rootVersion) {
artefact = abis[artefact.rootVersion][abiName || '']
}
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Alchemy tests in rewards.ts and run them non-headless so the browser console is visible. Inspect the arc.js and arc.ts lines shown in the issue alongside the reported console errors; done means the tests no longer generate those browser console errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.