Some checks failed
Deploy / deploy (push) Has been cancelled
Full-stack web application for Telegram management - Frontend: Vue 3 + Vben Admin - Backend: NestJS - Features: User management, group broadcast, statistics 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
14 lines
362 B
JavaScript
14 lines
362 B
JavaScript
import { expect } from 'chai'
|
|
import { shallow } from '@vue/test-utils'
|
|
import HelloWorld from '@/components/HelloWorld.vue'
|
|
|
|
describe('HelloWorld.vue', () => {
|
|
it('renders props.msg when passed', () => {
|
|
const msg = 'new message'
|
|
const wrapper = shallow(HelloWorld, {
|
|
propsData: { msg }
|
|
})
|
|
expect(wrapper.text()).to.include(msg)
|
|
})
|
|
})
|