CI config
ci/woodpecker/manual/woodpecker Pipeline was successful
Details
ci/woodpecker/manual/woodpecker Pipeline was successful
Details
parent
e32ce3c12d
commit
5d4edeb543
@ -0,0 +1,13 @@
|
||||
pipeline:
|
||||
build:
|
||||
image: node:18-alpine
|
||||
commands:
|
||||
- corepack enable
|
||||
- yarn
|
||||
- yarn build
|
||||
- chmod -R a+rw /mnt
|
||||
- rm -fR /mnt/dist
|
||||
- cp -R dist /mnt/dist
|
||||
|
||||
volumes:
|
||||
- /home/n/CI/pokemem:/mnt/
|
@ -1,11 +0,0 @@
|
||||
import { describe, it, expect } from 'vitest'
|
||||
|
||||
import { mount } from '@vue/test-utils'
|
||||
import HelloWorld from '../HelloWorld.vue'
|
||||
|
||||
describe('HelloWorld', () => {
|
||||
it('renders properly', () => {
|
||||
const wrapper = mount(HelloWorld, { props: { msg: 'Hello Vitest' } })
|
||||
expect(wrapper.text()).toContain('Hello Vitest')
|
||||
})
|
||||
})
|
Loading…
Reference in New Issue