Make brightness function behave like other implementations #252
Annotations
6 errors and 15 warnings
src/callbacks.test.ts > Callbacks > with brightness:
packages/jimp/src/callbacks.test.ts#L67
Error: Snapshot `Callbacks > with brightness 1` mismatched
- Expected
+ Received
Visualization:
- ▫▾4
- 2 A
- D▦◆
+ E▸7
+ □9▥
+ 9▩▫
Data:
- FF-7F-7Fᶠᶠ 7F-FF-7Fᶠᶠ 7F-7F-FFᶠᶠ
- FF-FF-7Fᶠᶠ 7F-FF-FFᶠᶠ FF-7F-FFᶠᶠ
- FF-7F-7F⁷ᶠ 7F-FF-7F⁷ᶠ 7F-7F-FF⁷ᶠ
+ 7F-00-00ᶠᶠ 00-7F-00ᶠᶠ 00-00-7Fᶠᶠ
+ 7F-7F-00ᶠᶠ 00-7F-7Fᶠᶠ 7F-00-7Fᶠᶠ
+ 7F-00-00⁷ᶠ 00-7F-00⁷ᶠ 00-00-7F⁷ᶠ
❯ src/callbacks.test.ts:67:9
|
test
jimp#test: command (/home/runner/work/jimp/jimp/packages/jimp) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test --watch=false exited (1)
|
test
Process completed with exit code 1.
|
src/callbacks.test.ts > Callbacks > with brightness:
packages/jimp/src/callbacks.test.ts#L67
Error: Snapshot `Callbacks > with brightness 1` mismatched
- Expected
+ Received
Visualization:
- ▫▾4
- 2 A
- D▦◆
+ E▸7
+ □9▥
+ 9▩▫
Data:
- FF-7F-7Fᶠᶠ 7F-FF-7Fᶠᶠ 7F-7F-FFᶠᶠ
- FF-FF-7Fᶠᶠ 7F-FF-FFᶠᶠ FF-7F-FFᶠᶠ
- FF-7F-7F⁷ᶠ 7F-FF-7F⁷ᶠ 7F-7F-FF⁷ᶠ
+ 7F-00-00ᶠᶠ 00-7F-00ᶠᶠ 00-00-7Fᶠᶠ
+ 7F-7F-00ᶠᶠ 00-7F-7Fᶠᶠ 7F-00-7Fᶠᶠ
+ 7F-00-00⁷ᶠ 00-7F-00⁷ᶠ 00-00-7F⁷ᶠ
❯ Proxy.methodWrapper ../../../../../../../node_modules/.vite/deps/vitest___chai.js:1131:29
❯ src/callbacks.test.ts:67:8
|
test-browser
jimp#test:browser: command (/home/runner/work/jimp/jimp/packages/jimp) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test:browser --watch=false exited (1)
|
test-browser
Process completed with exit code 1.
|
install
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint:
packages/core/src/index.ts#L77
Unexpected any. Specify a different type
|
lint:
packages/core/src/index.ts#L77
Unexpected any. Specify a different type
|
lint:
packages/core/src/index.ts#L83
Unexpected any. Specify a different type
|
lint:
packages/core/src/index.ts#L83
Unexpected any. Specify a different type
|
lint:
packages/core/src/index.ts#L84
Unexpected any. Specify a different type
|
lint:
packages/core/src/index.ts#L92
Unexpected any. Specify a different type
|
lint:
packages/core/src/index.ts#L98
Unexpected any. Specify a different type
|
lint:
packages/core/src/index.ts#L102
Unexpected any. Specify a different type
|
lint:
packages/core/src/index.ts#L106
Unexpected any. Specify a different type
|
lint:
packages/core/src/index.ts#L156
Unexpected any. Specify a different type
|
test-browser
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|