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
--- /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 <http://www.gnu.org/licenses/>.
+
+declare module 'solc';
\ No newline at end of file
modifiedtests/src/eth/util/playgrounds/unique.dev.tsdiffbeforeafterboth
2// SPDX-License-Identifier: Apache-2.02// SPDX-License-Identifier: Apache-2.0
33
4/* eslint-disable function-call-argument-newline */4/* eslint-disable function-call-argument-newline */
5// eslint-disable-next-line @typescript-eslint/triple-slash-reference
6/// <reference path="unique.dev.d.ts" />
57
6import {readFile} from 'fs/promises';8import {readFile} from 'fs/promises';
79
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;