Skip to content

Commit

Permalink
fix: scrub test console warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnixon committed Aug 20, 2023
1 parent 744d127 commit c97fb23
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/CvFileUploader/CvFileUploaderItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
</template>
<script setup>
import { computed, defineEmits } from 'vue';
import { computed } from 'vue';
import { carbonPrefix } from '../../global/settings';
import CheckmarkFilled16 from '@carbon/icons-vue/es/checkmark--filled/16';
import WarningFilled16 from '@carbon/icons-vue/es/warning--filled/16';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import CvFileUploader from '..';
const inputKinds = [KINDS.DRAG_TARGET];

describe('CvFileUploader', () => {
process.env.VTL_SKIP_WARN_EVENT_UPDATE = 'suppress';

it('renders label', async () => {
const dummyLabel = 'Dummy File Input';
const { findByText } = render(CvFileUploader, {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ describe('CvRadioGroup', () => {

it('CvRadioButton renders slot content', async () => {
const stubId = 'radioBtn';
const radioButtonStub = `<cvradiobutton id="${stubId}"></cvradiobutton>`;
const radioButtonStub = `<div id="${stubId}"></div>`;
const wrapper = shallowMount(CvRadioGroup, {
slots: {
default: radioButtonStub,
Expand Down

0 comments on commit c97fb23

Please sign in to comment.