mirror of
https://github.com/pezkuwichain/pezkuwi-dev.git
synced 2026-04-22 18:17:57 +00:00
fix: update header pattern to allow 'authors & contributors' suffix
This commit is contained in:
Vendored
+2
-2
@@ -37,7 +37,7 @@ const stubExpectFnNot = stubObj('expect(...).not', EXPECT_KEYS_FN, {
|
||||
* A helper that wraps a matching function in an ExpectMatcher. This is (currently)
|
||||
* only used/checked for in the calledWith* helpers
|
||||
*
|
||||
* TODO We don't use it in polkadot-js, but a useful enhancement could be for
|
||||
* TODO We don't use it in pezkuwi-js, but a useful enhancement could be for
|
||||
* any of the to* expectations to detect and use those. An example of useful code
|
||||
* in that case:
|
||||
*
|
||||
@@ -197,7 +197,7 @@ function assertIncludes (value: string | unknown[], [check, Clazz]: [string, Fun
|
||||
/**
|
||||
* Sets up the shimmed expect(...) function, including all .to* and .not.to*
|
||||
* functions. This is not comprehensive, rather is contains what we need to
|
||||
* make all polkadot-js usages pass
|
||||
* make all pezkuwi-js usages pass
|
||||
**/
|
||||
export function expect () {
|
||||
const rootMatchers = {
|
||||
|
||||
Vendored
+1
-1
@@ -53,7 +53,7 @@ function extendMock <F extends AnyFn> (mocked: WithMock<F>) {
|
||||
/**
|
||||
* Sets up the jest object. This is certainly not extensive, and probably
|
||||
* not quite meant to be (never say never). Rather this adds the functionality
|
||||
* that we use in the polkadot-js projects.
|
||||
* that we use in the pezkuwi-js projects.
|
||||
**/
|
||||
export function jest () {
|
||||
return {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/dev-test authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
module.exports = {};
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
// Do not edit, auto-generated by @pezkuwi/dev
|
||||
|
||||
export const packageInfo = { name: '@pezkuwi/dev-test', path: 'auto', type: 'auto', version: '0.84.2' };
|
||||
|
||||
Reference in New Issue
Block a user