UNPKG

buefy

Version:

Lightweight UI components for Vue.js (v3) based on Bulma

12 lines (10 loc) 389 B
import { describe, expect, test } from 'vitest' import config, { setOptions } from '@utils/config' describe('Config', () => { describe('Test options', () => { test('defaultToastDuration option should be 1000', () => { setOptions(Object.assign(config, { defaultToastDuration: 1000 })) expect(config.defaultToastDuration).toBe(1000) }) }) })