fix: tests
Some checks failed
ci / build (pull_request) Failing after 30s
ci / publish (pull_request) Has been skipped

This commit is contained in:
Matthew McPeak 2026-06-11 09:42:08 -04:00
parent 1fff909dad
commit 0a134e0df2
Signed by: McPeakML
GPG key ID: 3D64A2E70F58D07C
2 changed files with 12 additions and 12 deletions

View file

@ -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:

View file

@ -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");
});
});