From e1baaf9b07693047e73e04effec96153ad2fffc6 Mon Sep 17 00:00:00 2001 From: Fahrrader Date: Fri, 09 Sep 2022 08:35:04 +0000 Subject: [PATCH] tests: fix solc has any + revert skipping in transfer --- --- /dev/null +++ b/tests/src/eth/util/playgrounds/unique.dev.d.ts @@ -0,0 +1,17 @@ +// Copyright 2019-2022 Unique Network (Gibraltar) Ltd. +// This file is part of Unique Network. + +// Unique Network is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Unique Network is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Unique Network. If not, see . + +declare module 'solc'; \ No newline at end of file --- a/tests/src/eth/util/playgrounds/unique.dev.ts +++ b/tests/src/eth/util/playgrounds/unique.dev.ts @@ -2,6 +2,8 @@ // SPDX-License-Identifier: Apache-2.0 /* eslint-disable function-call-argument-newline */ +// eslint-disable-next-line @typescript-eslint/triple-slash-reference +/// import {readFile} from 'fs/promises'; --- a/tests/src/transfer.test.ts +++ b/tests/src/transfer.test.ts @@ -23,7 +23,7 @@ chai.use(chaiAsPromised); const expect = chai.expect; -describe.skip('Integration Test Transfer(recipient, collection_id, item_id, value)', () => { +describe('Integration Test Transfer(recipient, collection_id, item_id, value)', () => { let alice: IKeyringPair; let bob: IKeyringPair; @@ -116,7 +116,7 @@ }); }); -describe.skip('Negative Integration Test Transfer(recipient, collection_id, item_id, value)', () => { +describe('Negative Integration Test Transfer(recipient, collection_id, item_id, value)', () => { let alice: IKeyringPair; let bob: IKeyringPair; -- gitstuff