fix: update header pattern to allow 'authors & contributors' suffix

This commit is contained in:
2026-01-08 01:35:27 +03:00
parent 49a6fd372f
commit 60f7beb120
70 changed files with 246 additions and 246 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ It provides the following -
1. Browser `window`, `document`, `navigator` (see usage for browser-specific path)
2. `jest` functions, specifically `spyOn` (not comprehensive, some will error, some witll noop)
3. `expect` functions (not comprehensive, caters for specific polkadot-js usage)
3. `expect` functions (not comprehensive, caters for specific pezkuwi-js usage)
## Usage
+4 -4
View File
@@ -1,21 +1,21 @@
{
"author": "Jaco Greeff <jacogr@gmail.com>",
"bugs": "https://github.com/pezkuwi/dev/issues",
"bugs": "https://github.com/pezkuwichain/pezkuwi-dev/issues",
"description": "A basic test-functions-as-global library on top of node:test",
"engines": {
"node": ">=18.14"
},
"homepage": "https://github.com/pezkuwi/dev/tree/master/packages/dev-test#readme",
"homepage": "https://github.com/pezkuwichain/pezkuwi-dev/tree/master/packages/dev-test#readme",
"license": "Apache-2.0",
"name": "@pezkuwi/dev-test",
"repository": {
"directory": "packages/dev-test",
"type": "git",
"url": "https://github.com/pezkuwi/dev.git"
"url": "https://github.com/pezkuwichain/pezkuwi-dev.git"
},
"sideEffects": false,
"type": "module",
"version": "0.84.2",
"version": "0.85.0",
"main": "./index.js",
"exports": {
"./globals.d.ts": "./src/globals.d.ts"
+2 -2
View File
@@ -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 = {
+1 -1
View File
@@ -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 -1
View File
@@ -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 -1
View File
@@ -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' };