Skip to content

Bcc Range Slider Component #229

Bcc Range Slider Component

Bcc Range Slider Component #229

Triggered via pull request February 12, 2025 18:11
Status Failure
Total duration 1m 8s
Artifacts

design-library-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint
Type '{ value: number; min: number; max: number; step: number; }' is not assignable to type 'VNodeProps & { __v_isVNode?: undefined; [Symbol.iterator]?: undefined; } & Record<string, any> & Partial<{ min: number; max: number; disabled: boolean; step: number; fromLeft: boolean; }> & Omit<...>'.
lint
Type '{ value: number; min: number; max: number; step: number; }' is not assignable to type 'VNodeProps & { __v_isVNode?: undefined; [Symbol.iterator]?: undefined; } & Record<string, any> & Partial<{ min: number; max: number; disabled: boolean; step: number; fromLeft: boolean; }> & Omit<...>'.
lint
Process completed with exit code 2.
build
Type '{ value: number; min: number; max: number; step: number; }' is not assignable to type 'VNodeProps & { __v_isVNode?: undefined; [Symbol.iterator]?: undefined; } & Record<string, any> & Partial<{ min: number; max: number; disabled: boolean; step: number; fromLeft: boolean; }> & Omit<...>'.
build
Type '{ value: number; min: number; max: number; step: number; }' is not assignable to type 'VNodeProps & { __v_isVNode?: undefined; [Symbol.iterator]?: undefined; } & Record<string, any> & Partial<{ min: number; max: number; disabled: boolean; step: number; fromLeft: boolean; }> & Omit<...>'.
build
Process completed with exit code 1.
components/BccKnob/BccKnob.spec.ts > BccKnob > renders a knob: design-library/src/components/BccKnob/BccKnob.vue#L356
TypeError: Cannot read properties of null (reading 'setTransform') ❯ components/BccKnob/BccKnob.vue:356:10 ❯ ../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:2875:88 ❯ callWithErrorHandling ../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:195:19 ❯ callWithAsyncErrorHandling ../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:202:17 ❯ Array.hook.__weh.hook.__weh ../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:2855:19 ❯ flushPostFlushCbs ../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:376:41 ❯ render ../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6629:7 ❯ mount ../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3930:13 ❯ Object.app.mount ../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1477:19 ❯ Module.mount ../node_modules/.pnpm/@VUE[email protected]_@[email protected][email protected][email protected][email protected][email protected]_/node_modules/@vue/test-utils/dist/vue-test-utils.esm-bundler.mjs:8319:18
components/BccRange/BccRange.spec.ts > BccRange > renders a range input: design-library/src/components/BccRange/BccRange.spec.ts#L11
Error: Snapshot `BccRange > renders a range input 1` mismatched - Expected + Received - "<div class="bcc-range"> - <!--v-if--> - <div class="bcc-range__container"> - <div class="bcc-range__slider-container"><input type="range" class="bcc-range__input" min="-100" max="10" step="1"></div> - <div class="bcc-range__labels"> - <!--v-if--> - <!--v-if--> - </div> + "<div class="bcc-range" value="0"> + <div class="bcc-range__container relative"> + <div class="bcc-range__value bg-danger text-danger" style="left: calc(NaN% + NaNpx);"></div><input type="range" class="bcc-range__input" min="-100" max="10" step="1"> </div> </div>" ❯ components/BccRange/BccRange.spec.ts:11:28
components/BccRange/BccRange.spec.ts > BccRange > handles a v-model: design-library/src/components/BccRange/BccRange.spec.ts#L20
AssertionError: expected 2 to be 1 // Object.is equality - Expected + Received - 1 + 2 ❯ components/BccRange/BccRange.spec.ts:20:58
test
Process completed with exit code 1.
lint: design-library/src/components/BccPin/BccPin.stories.ts#L4
'setup' is defined but never used