File tree Expand file tree Collapse file tree
src/components/custom/BccReact/__snapshots__ Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5555 "typecheck" : " vue-tsc --noEmit" ,
5656 "lint" : " eslint src/**/*.ts src/**/*.vue" ,
5757 "lint:fix" : " eslint --fix src/**/*.ts src/**/*.vue" ,
58- "test:unit" : " vitest run" ,
58+ "test:unit" : " vitest run --project unit" ,
59+ "test:unit:update" : " vitest run --project unit -u" ,
60+ "test:unit:watch" : " vitest --project unit" ,
61+ "test:storybook" : " vitest run --project storybook" ,
5962 "test:e2e" : " playwright test" ,
6063 "release-channel" : " node ./scripts/release-channel.cjs" ,
6164 "create-version" : " node ./scripts/version.cjs"
Original file line number Diff line number Diff line change 22
33exports [` BccReact > renders reactions 1` ] = `
44"<div class = " bcc-react" >
5- <transition-group-stub name = " bcc-fade" appear = " false" persisted = " false" css = " true" ><button class = " bcc-react-toggle rounded-t-full" ><svg aria-hidden = " true" viewBox = " 0 -960 960 960" fill = " currentColor" class = " w-6 " >
5+ <transition-group-stub name = " bcc-fade" appear = " false" persisted = " false" css = " true" ><button class = " bcc-react-toggle rounded-t-full" ><svg aria-hidden = " true" viewBox = " 0 -960 960 960" fill = " currentColor" class = " size-5 " >
66 <path d = " M480-480Zm0 400q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q33 0 65 5t62 15q23 8 29 23.5t1 30.5q-5 15-18.5 23.5T588-781q-26-9-52.5-14t-55.5-5q-133 0-226.5 93.5T160-480q0 133 93.5 226.5T480-160q133 0 226.5-93.5T800-480q0-18-2-36t-6-35q-5-19 5-31t25-15q15-3 29.5 4.5T871-564q5 20 7 41t2 43q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm320-680h-40q-17 0-28.5-11.5T720-800q0-17 11.5-28.5T760-840h40v-40q0-17 11.5-28.5T840-920q17 0 28.5 11.5T880-880v40h40q17 0 28.5 11.5T960-800q0 17-11.5 28.5T920-760h-40v40q0 17-11.5 28.5T840-680q-17 0-28.5-11.5T800-720v-40ZM620-520q25 0 42.5-17.5T680-580q0-25-17.5-42.5T620-640q-25 0-42.5 17.5T560-580q0 25 17.5 42.5T620-520Zm-280 0q25 0 42.5-17.5T400-580q0-25-17.5-42.5T340-640q-25 0-42.5 17.5T280-580q0 25 17.5 42.5T340-520Zm140 260q58 0 107-28t79-76q6-12-1-24t-21-12H316q-14 0-21 12t-1 24q30 48 79.5 76T480-260Z" ></path >
77 </svg ></button >
8- <div class = " bcc-react-list" ><button class = " bcc-react-emoji-list-item" ><span >😃</span ><span class = " body-sm mx-1 " >4</span ></button ><button class = " bcc-react-emoji-list-item" ><span >👍</span >
8+ <div class = " bcc-react-list" ><button class = " bcc-react-emoji-list-item" ><span class = " bcc-react-emoji " >😃</span ><span class = " bcc-react-count " >4</span ></button ><button class = " bcc-react-emoji-list-item" ><span class = " bcc-react-emoji " >👍</span >
99 <!--v-if-->
1010 </button ></div >
1111 </transition-group-stub >
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ export default defineConfig({
2121 {
2222 extends : true ,
2323 test : {
24+ name : 'unit' ,
2425 globals : true ,
2526 environment : 'jsdom' ,
2627 exclude : [ 'tests/e2e/**' , 'node_modules/**' ] ,
You can’t perform that action at this time.
0 commit comments