Skip to content

Commit

Permalink
chore(#134): fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Decipher committed Jan 12, 2024
1 parent ffd2c98 commit 184158e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cypress/support/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ Cypress.Commands.add('standardComponentTest', (component, context) => {
const { axeRules, imageMatchOptions, mountOptions, options } = context

// Add CSS assets.
require('civictheme/dist/civictheme.css')
require('civictheme/dist/civictheme.variables.css')
require('@civictheme/uikit/dist/civictheme.css')
require('@civictheme/uikit/dist/civictheme.variables.css')

// see: https://test-utils.vuejs.org/guide/
cy.mount(component, mountOptions)
Expand Down
2 changes: 1 addition & 1 deletion test/components/Menu.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import CTMenu from '../../src/components/Menu.vue'
import CTMenuItem from '../../src/components/MenuItem.vue'
CTMenuItem.components = { CTLink }

import 'civictheme/components/00-base/collapsible/collapsible'
import '@civictheme/uikit/components/00-base/collapsible/collapsible'

const propsData = {
items: [
Expand Down
2 changes: 1 addition & 1 deletion test/components/Navigation.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import CTNavigation from '../../src/components/Navigation.vue'
CTMenu.components = { CTMenuItem }
CTMenuItem.components = { CTLink }

import 'civictheme/components/00-base/collapsible/collapsible'
import '@civictheme/uikit/components/00-base/collapsible/collapsible'

const propsData = {
items: [
Expand Down

0 comments on commit 184158e

Please sign in to comment.