The frontend for the project formerly known as signet, now known as beignet.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

example.spec.ts 377 B

2 年前
12345678910111213
  1. import { expect } from 'chai';
  2. import { shallowMount } from '@vue/test-utils';
  3. import HelloWorld from '@/components/HelloWorld.vue';
  4. describe('HelloWorld.vue', () => {
  5. it('renders props.msg when passed', () => {
  6. const msg = 'new message';
  7. const wrapper = shallowMount(HelloWorld, {
  8. props: { msg },
  9. });
  10. expect(wrapper.text()).to.include(msg);
  11. });
  12. });