git.delta.rocks / unique-network / refs/commits / e1baaf9b0769

difftreelog

tests: fix solc has any + revert skipping in transfer

Fahrrader2022-09-09parent: #6069e8a.patch.diff
in: master

3 files changed

addedtests/src/eth/util/playgrounds/unique.dev.d.tsdiffbeforeafterboth
after · tests/src/eth/util/playgrounds/unique.dev.d.ts
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.2// This file is part of Unique Network.34// Unique Network is free software: you can redistribute it and/or modify5// it under the terms of the GNU General Public License as published by6// the Free Software Foundation, either version 3 of the License, or7// (at your option) any later version.89// Unique Network is distributed in the hope that it will be useful,10// but WITHOUT ANY WARRANTY; without even the implied warranty of11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the12// GNU General Public License for more details.1314// You should have received a copy of the GNU General Public License15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.1617declare module 'solc';
modifiedtests/src/eth/util/playgrounds/unique.dev.tsdiffbeforeafterboth
--- 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
+/// <reference path="unique.dev.d.ts" />
 
 import {readFile} from 'fs/promises';
 
modifiedtests/src/transfer.test.tsdiffbeforeafterboth
--- 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;