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
--- 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
23chai.use(chaiAsPromised);23chai.use(chaiAsPromised);
24const expect = chai.expect;24const expect = chai.expect;
2525
26describe.skip('Integration Test Transfer(recipient, collection_id, item_id, value)', () => {26describe('Integration Test Transfer(recipient, collection_id, item_id, value)', () => {
27 let alice: IKeyringPair;27 let alice: IKeyringPair;
28 let bob: IKeyringPair;28 let bob: IKeyringPair;
2929
116 });116 });
117});117});
118118
119describe.skip('Negative Integration Test Transfer(recipient, collection_id, item_id, value)', () => {119describe('Negative Integration Test Transfer(recipient, collection_id, item_id, value)', () => {
120 let alice: IKeyringPair;120 let alice: IKeyringPair;
121 let bob: IKeyringPair;121 let bob: IKeyringPair;
122122