Adjust tests for node:test env (#5509)
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
"version": "9.14.3-2-x",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.20.13",
|
||||
"@babel/runtime": "^7.21.0",
|
||||
"@polkadot/types-codec": "9.14.3-2-x",
|
||||
"@polkadot/util": "^10.4.2"
|
||||
},
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
// Copyright 2017-2023 @polkadot/types authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// eslint-disable-next-line spaced-comment
|
||||
/// <reference types="@polkadot/dev/node/test/node" />
|
||||
|
||||
import { TypeRegistry } from '@polkadot/types';
|
||||
import { encodeTypeDef, TypeDefInfo } from '@polkadot/types-create';
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
// Copyright 2017-2023 @polkadot/types authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// eslint-disable-next-line spaced-comment
|
||||
/// <reference types="@polkadot/dev/node/test/node" />
|
||||
|
||||
import { TypeRegistry } from '@polkadot/types';
|
||||
import { getTypeDef, TypeDefInfo } from '@polkadot/types-create';
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
// Copyright 2017-2023 @polkadot/types authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// eslint-disable-next-line spaced-comment
|
||||
/// <reference types="@polkadot/dev/node/test/node" />
|
||||
|
||||
import { typeSplit } from '@polkadot/types-create';
|
||||
|
||||
describe('typeSplit', (): void => {
|
||||
|
||||
Reference in New Issue
Block a user