fix: tests
This commit is contained in:
parent
1fff909dad
commit
0a134e0df2
2 changed files with 12 additions and 12 deletions
|
|
@ -1,4 +1,4 @@
|
|||
name: CI
|
||||
name: ci
|
||||
|
||||
on:
|
||||
push:
|
||||
|
|
@ -7,7 +7,7 @@ on:
|
|||
pull_request:
|
||||
|
||||
jobs:
|
||||
audit-test-build:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container: oven/bun:1
|
||||
steps:
|
||||
|
|
@ -36,7 +36,7 @@ jobs:
|
|||
path: dist
|
||||
|
||||
publish:
|
||||
needs: audit-test-build
|
||||
needs: build
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
import { describe, it, expect } from 'vitest'
|
||||
import { describe, it, expect } from "vitest";
|
||||
|
||||
import { mount } from '@vue/test-utils'
|
||||
import App from '../App.vue'
|
||||
import { mount } from "@vue/test-utils";
|
||||
import App from "../App.vue";
|
||||
|
||||
describe('App', () => {
|
||||
it('mounts renders properly', () => {
|
||||
const wrapper = mount(App)
|
||||
expect(wrapper.text()).toContain('Alexander Voss')
|
||||
})
|
||||
})
|
||||
describe("App", () => {
|
||||
it("mounts renders properly", () => {
|
||||
const wrapper = mount(App);
|
||||
expect(wrapper.text()).toContain("Matthew McPeak");
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue