update-deps #265
Annotations
1 error
update_deps
Unexpected error:
> [email protected] pretty:check
> prettier --check src test
Checking formatting...
All matched files use Prettier code style!
> [email protected] eslint
> eslint src/ --max-warnings=0
> [email protected] test
> ZHC_TEST=true jest test --silent --maxWorkers=50%
PASS test/generateDefinition.test.ts (18.593 s)
PASS test/modernExtend.test.ts
PASS test/sonoff.test.ts
PASS test/ota.test.ts
PASS test/lumi.test.js
PASS test/color.test.js
PASS test/philips.test.js
PASS test/otaCommon.test.ts
FAIL test/fromZigbee.test.js
● Test suite failed to run
Cannot find module '../index' from 'test/fromZigbee.test.js'
3 | jest.mock('fs');
4 | const fs = require('fs');
> 5 | const {fromZigbee} = require('../index');
| ^
6 |
7 | describe('converters/fromZigbee', () => {
8 | describe('tuya', () => {
at Resolver._throwModNotFoundError (node_modules/jest-resolve/build/resolver.js:427:11)
at Object.<anonymous> (test/fromZigbee.test.js:5:22)
PASS test/utils.test.js
PASS test/index.test.js (23.761 s)
Test Suites: 1 failed, 10 passed, 11 total
Tests: 31 skipped, 220 passed, 251 total
Snapshots: 0 total
Time: 24.017 s
husky - pre-commit script failed (code 1)
|