File tree Expand file tree Collapse file tree 7 files changed +175
-0
lines changed
src/components/Registry/ResultTables/__tests__ Expand file tree Collapse file tree 7 files changed +175
-0
lines changed Original file line number Diff line number Diff line change 1+ import { describe , expect , it } from "vitest" ;
2+ import { createVuetify } from "vuetify" ;
3+
4+ import { shallowMount } from "@vue/test-utils" ;
5+ import BenchmarksTable from "../BenchmarksTable.vue" ;
6+ import { createPinia , setActivePinia } from "pinia" ;
7+
8+ const vuetify = createVuetify ( ) ;
9+
10+ describe ( "BenchmarksTable.vue" , function ( ) {
11+ let wrapper ;
12+
13+ beforeEach ( ( ) => {
14+ setActivePinia ( createPinia ( ) ) ;
15+ wrapper = shallowMount ( BenchmarksTable , {
16+ global : {
17+ plugins : [ vuetify ] ,
18+ } ,
19+ } ) ;
20+ } ) ;
21+
22+ it ( "can be instantiated" , ( ) => {
23+ expect ( wrapper . vm . $options . name ) . toMatch ( "BenchmarksTable" ) ;
24+ } ) ;
25+ } ) ;
Original file line number Diff line number Diff line change 1+ import { describe , expect , it } from "vitest" ;
2+ import { createVuetify } from "vuetify" ;
3+
4+ import { shallowMount } from "@vue/test-utils" ;
5+ import CollectionsTable from "../CollectionsTable.vue" ;
6+ import { createPinia , setActivePinia } from "pinia" ;
7+
8+ const vuetify = createVuetify ( ) ;
9+
10+ describe ( "CollectionsTable.vue" , function ( ) {
11+ let wrapper ;
12+
13+ beforeEach ( ( ) => {
14+ setActivePinia ( createPinia ( ) ) ;
15+ wrapper = shallowMount ( CollectionsTable , {
16+ global : {
17+ plugins : [ vuetify ] ,
18+ } ,
19+ } ) ;
20+ } ) ;
21+
22+ it ( "can be instantiated" , ( ) => {
23+ expect ( wrapper . vm . $options . name ) . toMatch ( "CollectionsTable" ) ;
24+ } ) ;
25+ } ) ;
Original file line number Diff line number Diff line change 1+ import { describe , expect , it } from "vitest" ;
2+ import { createVuetify } from "vuetify" ;
3+
4+ import { shallowMount } from "@vue/test-utils" ;
5+ import DatabaseTable from "../DatabaseTable.vue" ;
6+ import { createPinia , setActivePinia } from "pinia" ;
7+
8+ const vuetify = createVuetify ( ) ;
9+
10+ describe ( "DatabaseTable.vue" , function ( ) {
11+ let wrapper ;
12+
13+ beforeEach ( ( ) => {
14+ setActivePinia ( createPinia ( ) ) ;
15+ wrapper = shallowMount ( DatabaseTable , {
16+ global : {
17+ plugins : [ vuetify ] ,
18+ } ,
19+ } ) ;
20+ } ) ;
21+
22+ it ( "can be instantiated" , ( ) => {
23+ expect ( wrapper . vm . $options . name ) . toMatch ( "DatabaseTable" ) ;
24+ } ) ;
25+ } ) ;
Original file line number Diff line number Diff line change 1+ import { describe , expect , it } from "vitest" ;
2+ import { createVuetify } from "vuetify" ;
3+
4+ import { shallowMount } from "@vue/test-utils" ;
5+ import MetricsTable from "../MetricsTable.vue" ;
6+ import { createPinia , setActivePinia } from "pinia" ;
7+
8+ const vuetify = createVuetify ( ) ;
9+
10+ describe ( "MetricsTable.vue" , function ( ) {
11+ let wrapper ;
12+
13+ beforeEach ( ( ) => {
14+ setActivePinia ( createPinia ( ) ) ;
15+ wrapper = shallowMount ( MetricsTable , {
16+ global : {
17+ plugins : [ vuetify ] ,
18+ } ,
19+ } ) ;
20+ } ) ;
21+
22+ it ( "can be instantiated" , ( ) => {
23+ expect ( wrapper . vm . $options . name ) . toMatch ( "MetricsTable" ) ;
24+ } ) ;
25+ } ) ;
Original file line number Diff line number Diff line change 1+ import { describe , expect , it } from "vitest" ;
2+ import { createVuetify } from "vuetify" ;
3+
4+ import { shallowMount } from "@vue/test-utils" ;
5+ import PoliciesTable from "../PoliciesTable.vue" ;
6+ import { createPinia , setActivePinia } from "pinia" ;
7+
8+ const vuetify = createVuetify ( ) ;
9+
10+ describe ( "PoliciesTable.vue" , function ( ) {
11+ let wrapper ;
12+
13+ beforeEach ( ( ) => {
14+ setActivePinia ( createPinia ( ) ) ;
15+ wrapper = shallowMount ( PoliciesTable , {
16+ global : {
17+ plugins : [ vuetify ] ,
18+ } ,
19+ } ) ;
20+ } ) ;
21+
22+ it ( "can be instantiated" , ( ) => {
23+ expect ( wrapper . vm . $options . name ) . toMatch ( "PoliciesTable" ) ;
24+ } ) ;
25+ } ) ;
Original file line number Diff line number Diff line change 1+ import { describe , expect , it } from "vitest" ;
2+ import { createVuetify } from "vuetify" ;
3+
4+ import { shallowMount } from "@vue/test-utils" ;
5+ import PrinciplesTable from "../PrinciplesTable.vue" ;
6+ import { createPinia , setActivePinia } from "pinia" ;
7+
8+ const vuetify = createVuetify ( ) ;
9+
10+ describe ( "PrinciplesTable.vue" , function ( ) {
11+ let wrapper ;
12+
13+ beforeEach ( ( ) => {
14+ setActivePinia ( createPinia ( ) ) ;
15+ wrapper = shallowMount ( PrinciplesTable , {
16+ global : {
17+ plugins : [ vuetify ] ,
18+ } ,
19+ } ) ;
20+ } ) ;
21+
22+ it ( "can be instantiated" , ( ) => {
23+ expect ( wrapper . vm . $options . name ) . toMatch ( "PrinciplesTable" ) ;
24+ } ) ;
25+ } ) ;
Original file line number Diff line number Diff line change 1+ import { describe , expect , it } from "vitest" ;
2+ import { createVuetify } from "vuetify" ;
3+
4+ import { shallowMount } from "@vue/test-utils" ;
5+ import StandardsTable from "../StandardsTable.vue" ;
6+ import { createPinia , setActivePinia } from "pinia" ;
7+
8+ const vuetify = createVuetify ( ) ;
9+
10+ describe ( "StandardsTable.vue" , function ( ) {
11+ let wrapper ;
12+
13+ beforeEach ( ( ) => {
14+ setActivePinia ( createPinia ( ) ) ;
15+ wrapper = shallowMount ( StandardsTable , {
16+ global : {
17+ plugins : [ vuetify ] ,
18+ } ,
19+ } ) ;
20+ } ) ;
21+
22+ it ( "can be instantiated" , ( ) => {
23+ expect ( wrapper . vm . $options . name ) . toMatch ( "StandardsTable" ) ;
24+ } ) ;
25+ } ) ;
You can’t perform that action at this time.
0 commit comments