ec436095dd
Book-CI / test (macos-latest) (push) Has been cancelled
Book-CI / test (ubuntu-latest) (push) Has been cancelled
Book-CI / test (windows-latest) (push) Has been cancelled
Release Fake Tag / publish (push) Has been cancelled
Deploy / deploy (macos-latest) (push) Has been cancelled
Deploy / deploy (ubuntu-latest) (push) Has been cancelled
Deploy / deploy (windows-latest) (push) Has been cancelled
Release to PyPI / Build & publish sglang-kt (push) Has been cancelled
Release to PyPI / Build kt-kernel (Python 3.11) (push) Has been cancelled
Release to PyPI / Build kt-kernel (Python 3.12) (push) Has been cancelled
Release to PyPI / Publish kt-kernel to PyPI (push) Has been cancelled
13 lines
335 B
TypeScript
13 lines
335 B
TypeScript
import { shallowMount } 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 = shallowMount(HelloWorld, {
|
|
props: { msg }
|
|
})
|
|
expect(wrapper.text()).toMatch(msg)
|
|
})
|
|
})
|