Skip to content

Commit 795cdc5

Browse files
committed
test: SketchyHLine tests completed
1 parent 9d54221 commit 795cdc5

File tree

4 files changed

+39
-0
lines changed

4 files changed

+39
-0
lines changed

docs/unit-tests/sketchy-hlin.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# SketchyDiv Component Tests
2+
3+
These are some unit test cases for SketchyHLine component
4+
5+
## Rendering
6+
7+
- render on the screen
8+
9+
## Props
10+
11+
- _no tests specified_
12+
13+
## Events
14+
15+
- _no tests specified_
16+
17+
## Methods
18+
19+
- _no tests specified_
20+
21+
## Slots
22+
23+
- _no tests specified_
24+
25+
## Accessibility
26+
27+
- _no tests specified_
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { shallowMount } from "@vue/test-utils";
2+
import { describe, expect, test } from "vitest";
3+
4+
import SketchyHLine from "./SketchyHLine.vue"
5+
6+
describe("SketchyHLine", () => {
7+
test("render on the scree", () => {
8+
const wrapper = shallowMount(SketchyHLine);
9+
expect(wrapper.exists()).toBe(true);
10+
});
11+
})

lib/vite.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export default defineConfig({
1515
// https://playwright.dev
1616
providerOptions: {},
1717
},
18+
reporters: ['verbose']
1819
},
1920
build: {
2021
lib: {

0 commit comments

Comments
 (0)