diff --git a/demo/jest.config.ts b/demo/jest.config.ts index 0a1fabdf..76676a39 100644 --- a/demo/jest.config.ts +++ b/demo/jest.config.ts @@ -94,7 +94,7 @@ const config: Config = { roughjs: require.resolve("roughjs"), "memory-viz": require.resolve("../memory-viz/src"), // Mocks a file (see fileMock.js) each time any of the below file types are imported. - "\\.(jpg|ico|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": + "\\.(jpg|ico|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|css|less|sass|scss)$": "./mocks/fileMock.js", }, diff --git a/demo/src/MemoryModelsMenu.tsx b/demo/src/MemoryModelsMenu.tsx index 2638a2c5..26d03c4b 100644 --- a/demo/src/MemoryModelsMenu.tsx +++ b/demo/src/MemoryModelsMenu.tsx @@ -1,6 +1,7 @@ import React, { ReactNode, useState } from "react"; import { Box, Button, Menu } from "@mui/material"; import ExpandMoreRoundedIcon from "@mui/icons-material/ExpandMoreRounded"; +import "./css/styles.css"; type MemoryModelsMenuPropTypes = { menuName: string; @@ -23,13 +24,7 @@ export default function MemoryModelsMenu(props: MemoryModelsMenuPropTypes) {