Skip to content

Commit

Permalink
fixes frontend test coverage #48
Browse files Browse the repository at this point in the history
  • Loading branch information
chrabyrd committed Aug 12, 2024
1 parent f17a3ee commit 289be72
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 16 deletions.
7 changes: 0 additions & 7 deletions arches_lingo/src/arches_lingo/App.vue

This file was deleted.

7 changes: 0 additions & 7 deletions arches_lingo/src/arches_lingo/components/FooComponent.vue

This file was deleted.

File renamed without changes.
1 change: 1 addition & 0 deletions arches_lingo/src/arches_lingo/declarations.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// empty test file to register coverage of `declarations.d.ts`
2 changes: 1 addition & 1 deletion vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function generateConfig(): Promise<UserConfigExport> {
test: {
alias: alias,
coverage: {
include: [path.join(path.basename(__dirname), 'app', 'src', path.sep)],
include: [path.join('arches_lingo', 'src', path.sep)],
exclude: exclude,
reporter: [
['clover', { 'file': 'coverage.xml' }],
Expand Down
2 changes: 1 addition & 1 deletion vitest.setup.mts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { beforeAll, vi } from 'vitest';
import '@/declarations.d.ts';
import '@/arches_lingo/declarations.d.ts';


beforeAll(() => {
Expand Down

0 comments on commit 289be72

Please sign in to comment.