Appearance
@obewds/tw-bg-palette-console Tests
⚠️ Project Depreciated ⚠️
This project has been depreciated. Use VueVentus (via github or via npm), which is the result of this project, and has this functionality along with much more.
Testing Status
CURRENT STATUS
100% Coverage
100% Passing
Vitest Tests
js
// ./tests/twBgPaletteConsole.test.js
import { twBgPaletteConsole } from '../src/index'
test('twBgPaletteConsole component returns a truthy value', async () => {
expect(twBgPaletteConsole).toBeTruthy()
})
test('twBgPaletteConsole.console component returns an object with a truthy console property', async () => {
expect(twBgPaletteConsole.console).toBeTruthy()
})
test('twBgPaletteConsole.console.colors component returns an object with a truthy colors property', async () => {
expect(twBgPaletteConsole.console.colors).toBeTruthy()
})
test('twBgPaletteConsole component returns an object with the standard five default color names', async () => {
expect(twBgPaletteConsole.console.colors['default']).toBeTruthy()
expect(twBgPaletteConsole.console.colors['error']).toBeTruthy()
expect(twBgPaletteConsole.console.colors['primary']).toBeTruthy()
expect(twBgPaletteConsole.console.colors['secondary']).toBeTruthy()
expect(twBgPaletteConsole.console.colors['success']).toBeTruthy()
})