Move LiquidDoc definition lookup to DocumentManager #1851
Annotations
16 errors and 2 warnings
packages/theme-check-common/src/context-utils.spec.ts > Unit: getDefaultLocale > Unit: makeGetLiquidDocDefinitions > should return name if no valid annotations are present in definition:
packages/theme-check-common/src/visitor.ts#L45
TypeError: Cannot read properties of undefined (reading 'type')
❯ Module.visit packages/theme-check-common/src/visitor.ts:45:36
❯ getLiquidDocDefinitions packages/theme-check-common/src/context-utils.ts:224:56
❯ packages/theme-check-common/src/context-utils.spec.ts:122:28
|
packages/theme-check-common/src/context-utils.spec.ts > Unit: getDefaultLocale > Unit: makeGetLiquidDocDefinitions > should extract name, description and type from param annotations:
packages/theme-check-common/src/visitor.ts#L45
TypeError: Cannot read properties of undefined (reading 'type')
❯ Module.visit packages/theme-check-common/src/visitor.ts:45:36
❯ getLiquidDocDefinitions packages/theme-check-common/src/context-utils.ts:224:56
❯ packages/theme-check-common/src/context-utils.spec.ts:140:28
|
Tests / OS ubuntu-latest / NodeJS 20
Process completed with exit code 1.
|
Tests / OS windows-latest / NodeJS 20
The job was canceled because "ubuntu-latest_20" failed.
|
Tests / OS windows-latest / NodeJS 20
The operation was canceled.
|
Tests / OS windows-latest / NodeJS 18
The job was canceled because "ubuntu-latest_20" failed.
|
Tests / OS windows-latest / NodeJS 18
The operation was canceled.
|
Tests / OS ubuntu-latest / NodeJS 18
The job was canceled because "ubuntu-latest_20" failed.
|
packages/theme-check-common/src/context-utils.spec.ts > Unit: getDefaultLocale > Unit: makeGetLiquidDocDefinitions > should return name if no valid annotations are present in definition:
packages/theme-check-common/src/visitor.ts#L45
TypeError: Cannot read properties of undefined (reading 'type')
❯ Module.visit packages/theme-check-common/src/visitor.ts:45:36
❯ getLiquidDocDefinitions packages/theme-check-common/src/context-utils.ts:224:56
❯ packages/theme-check-common/src/context-utils.spec.ts:122:28
|
packages/theme-check-common/src/context-utils.spec.ts > Unit: getDefaultLocale > Unit: makeGetLiquidDocDefinitions > should extract name, description and type from param annotations:
packages/theme-check-common/src/visitor.ts#L45
TypeError: Cannot read properties of undefined (reading 'type')
❯ Module.visit packages/theme-check-common/src/visitor.ts:45:36
❯ getLiquidDocDefinitions packages/theme-check-common/src/context-utils.ts:224:56
❯ packages/theme-check-common/src/context-utils.spec.ts:140:28
|
Tests / OS ubuntu-latest / NodeJS 18
The operation was canceled.
|
Code quality
Expected 0 arguments, but got 2.
|
Code quality
Expected 2 arguments, but got 0.
|
Code quality
Expected 0 arguments, but got 2.
|
Code quality
Expected 2 arguments, but got 0.
|
Code quality
Process completed with exit code 2.
|
Tests / OS ubuntu-latest / NodeJS 20
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Code quality
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|