// @vitest-environment happy-dom import { describe, it, expect, beforeEach, afterEach, vi } from 'vitest'; import { Cards } from './cards'; // Setup Materialize global object const globalM = { Cards }; global.M = globalM; if (typeof window !== 'undefined') { window.M = globalM; } describe('Cards', () => { const fixture = `
Here is some more information about this product that is only revealed once clicked on.
I am a very simple card. I am good at containing small bits of information. I am convenient because I require little markup to use effectively.
I am a very simple card. I am good at containing small bits of information. I am convenient because I require little markup to use effectively.
I am a very simple card. I am good at containing small bits of information. I am convenient because I require little markup to use effectively.
I am a very simple card. I am good at containing small bits of information. I am convenient because I require little markup to use effectively.