* Add files via upload

* Rename Tron address to TRC10 token id

* move

Co-authored-by: Mykola <kolya182@gmail.com>
This commit is contained in:
satya42 2020-05-31 02:56:53 +05:00 committed by GitHub
parent 90992b8bfe
commit 4342a21655
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

View File

@ -65,7 +65,7 @@ describe(`Test "blockchains" folder`, () => {
})
})
describe(`Asset folder should contain only predefined list of filees`, () => {
describe(`Asset folder should contain only predefined list of files`, () => {
readDirSync(chainsFolderPath).forEach(chain => {
const assetsPath = getChainAssetsPath(chain)
@ -130,7 +130,7 @@ describe(`Test "blockchains" folder`, () => {
test("Expect asset to be TRC10 or TRC20", () => {
readDirSync(path).forEach(asset => {
expect(isTRC10(asset) || isTRC20(asset), `Asset ${asset} non TRC10 nor TRC20`).toBe(true)
expect(isTRC10(asset) || isTRC20(asset), `Asset ${asset} at path ${path} non TRC10 nor TRC20`).toBe(true)
const assetsLogoPath = getChainAssetLogoPath(Tron, asset)
expect(isPathExistsSync(assetsLogoPath), `Missing file at path "${assetsLogoPath}"`).toBe(true)