mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-11-23 22:39:55 +00:00
- Fixed internal @polkadot references to @pezkuwi - Updated hw-ledger and hw-ledger-transports packages - Updated keyring and networks packages - Version 14.0.7
21 lines
455 B
TypeScript
21 lines
455 B
TypeScript
// Copyright 2017-2025 @pezkuwi/util authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
|
|
|
|
import { isNull } from './index.js';
|
|
|
|
describe('isNull', (): void => {
|
|
it('returns true when a null value', (): void => {
|
|
expect(
|
|
isNull(null)
|
|
).toEqual(true);
|
|
});
|
|
|
|
it('returns false on non-null values', (): void => {
|
|
expect(
|
|
isNull()
|
|
).toEqual(false);
|
|
});
|
|
});
|