mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-06-13 10:01:02 +00:00
Rebrand: polkadot → pezkuwi build fixes
- Fixed TypeScript type assertion issues - Updated imports from api-augment/substrate to api-augment/bizinikiwi - Fixed imgConvert.mjs header and imports - Added @ts-expect-error for runtime-converted types - Fixed all @polkadot copyright headers to @pezkuwi
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
* Run this file with Jest: `npx jest kyc.live.test.js`
|
||||
*/
|
||||
|
||||
import { ApiPromise, WsProvider, Keyring } from '@polkadot/api';
|
||||
import { ApiPromise, WsProvider, Keyring } from '@pezkuwi/api';
|
||||
import axios from 'axios'; // Using axios for HTTP requests
|
||||
|
||||
// ========================================
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import request from 'supertest';
|
||||
import { ApiPromise, WsProvider, Keyring } from '@polkadot/api';
|
||||
import { ApiPromise, WsProvider, Keyring } from '@pezkuwi/api';
|
||||
import { app, supabase } from '../src/server.js';
|
||||
|
||||
// ========================================
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* 2. The node must have the `perwerde` pallet included.
|
||||
*/
|
||||
|
||||
import { ApiPromise, WsProvider, Keyring } from '@polkadot/api';
|
||||
import { ApiPromise, WsProvider, Keyring } from '@pezkuwi/api';
|
||||
|
||||
// ========================================
|
||||
// TEST CONFIGURATION
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
* 3. The tests require a funded sudo account (`//Alice`).
|
||||
*/
|
||||
|
||||
import { ApiPromise, WsProvider, Keyring } from '@polkadot/api';
|
||||
import { ApiPromise, WsProvider, Keyring } from '@pezkuwi/api';
|
||||
import { jest } from '@jest/globals';
|
||||
|
||||
// ========================================
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
* 3. The tests require a funded sudo account (`//Alice`).
|
||||
*/
|
||||
|
||||
import { ApiPromise, WsProvider, Keyring } from '@polkadot/api';
|
||||
import { BN } from '@polkadot/util';
|
||||
import { ApiPromise, WsProvider, Keyring } from '@pezkuwi/api';
|
||||
import { BN } from '@pezkuwi/util';
|
||||
import { jest } from '@jest/globals';
|
||||
|
||||
// ========================================
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
* 4. Test accounts (e.g., //Alice, //Bob) must have initial balances of wUSDT.
|
||||
*/
|
||||
|
||||
import { ApiPromise, WsProvider, Keyring } from '@polkadot/api';
|
||||
import { BN } from '@polkadot/util';
|
||||
import { ApiPromise, WsProvider, Keyring } from '@pezkuwi/api';
|
||||
import { BN } from '@pezkuwi/util';
|
||||
import { jest } from '@jest/globals';
|
||||
|
||||
// ========================================
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
* 3. The tests require a funded sudo account (`//Alice`).
|
||||
*/
|
||||
|
||||
import { ApiPromise, WsProvider, Keyring } from '@polkadot/api';
|
||||
import { ApiPromise, WsProvider, Keyring } from '@pezkuwi/api';
|
||||
import { jest } from '@jest/globals';
|
||||
|
||||
// ========================================
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
* 3. Test accounts must be funded to be able to bond stake.
|
||||
*/
|
||||
|
||||
import { ApiPromise, WsProvider, Keyring } from '@polkadot/api';
|
||||
import { BN } from '@polkadot/util';
|
||||
import { ApiPromise, WsProvider, Keyring } from '@pezkuwi/api';
|
||||
import { BN } from '@pezkuwi/util';
|
||||
import { jest } from '@jest/globals';
|
||||
|
||||
// ========================================
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
* 3. The tests require a funded sudo account (`//Alice`).
|
||||
*/
|
||||
|
||||
import { ApiPromise, WsProvider, Keyring } from '@polkadot/api';
|
||||
import { ApiPromise, WsProvider, Keyring } from '@pezkuwi/api';
|
||||
import { jest } from '@jest/globals';
|
||||
|
||||
// ========================================
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
* 3. Test accounts must be funded with the native currency (e.g., PEZ).
|
||||
*/
|
||||
|
||||
import { ApiPromise, WsProvider, Keyring } from '@polkadot/api';
|
||||
import { BN } from '@polkadot/util';
|
||||
import { ApiPromise, WsProvider, Keyring } from '@pezkuwi/api';
|
||||
import { BN } from '@pezkuwi/util';
|
||||
import { jest } from '@jest/globals';
|
||||
|
||||
// ========================================
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
* 3. The tests require a funded sudo account (`//Alice`).
|
||||
*/
|
||||
|
||||
import { ApiPromise, WsProvider, Keyring } from '@polkadot/api';
|
||||
import { BN } from '@polkadot/util';
|
||||
import { ApiPromise, WsProvider, Keyring } from '@pezkuwi/api';
|
||||
import { BN } from '@pezkuwi/util';
|
||||
import { jest } from '@jest/globals';
|
||||
|
||||
// ========================================
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
* 3. The tests require a funded sudo account (`//Alice`).
|
||||
*/
|
||||
|
||||
import { ApiPromise, WsProvider, Keyring } from '@polkadot/api';
|
||||
import { BN } from '@polkadot/util';
|
||||
import { ApiPromise, WsProvider, Keyring } from '@pezkuwi/api';
|
||||
import { BN } from '@pezkuwi/util';
|
||||
import { jest } from '@jest/globals';
|
||||
|
||||
// ========================================
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
* Run this file with Jest: `npx jest backend/integration-tests/welati.live.test.js`
|
||||
*/
|
||||
|
||||
import { ApiPromise, WsProvider, Keyring } from '@polkadot/api';
|
||||
import { BN } from '@polkadot/util';
|
||||
import { ApiPromise, WsProvider, Keyring } from '@pezkuwi/api';
|
||||
import { BN } from '@pezkuwi/util';
|
||||
import { jest } from '@jest/globals';
|
||||
|
||||
// ========================================
|
||||
|
||||
Reference in New Issue
Block a user