This commit is contained in:
parent
5c86fd2ceb
commit
6b84607b25
4 changed files with 271 additions and 235 deletions
|
|
@ -20,6 +20,7 @@ test("react application defines the expected local toolbox primitives", async ()
|
|||
const styleHome = await readFile("website/src/styles/_home.scss", "utf8");
|
||||
const styleToolboxes = await readFile("website/src/styles/_toolboxes.scss", "utf8");
|
||||
const styleIcons = await readFile("website/src/styles/_icons.scss", "utf8");
|
||||
const styleGames = await readFile("website/src/styles/_games.scss", "utf8");
|
||||
const styleMhwilds = await readFile("website/src/styles/_mhwilds.scss", "utf8");
|
||||
const styleResponsive = await readFile("website/src/styles/_responsive.scss", "utf8");
|
||||
const iconComponent = await readFile("website/src/components/Icon.jsx", "utf8");
|
||||
|
|
@ -72,9 +73,11 @@ test("react application defines the expected local toolbox primitives", async ()
|
|||
assert.match(styleIcons, /ui-icon-add/);
|
||||
assert.match(styleMhwilds, /\.mhwilds-card/);
|
||||
assert.match(styleMhwilds, /\.mhwilds-flip-indicator/);
|
||||
assert.match(styleMhwilds, /\.game-home-card/);
|
||||
assert.match(styleMhwilds, /\.game-layout/);
|
||||
assert.match(styleMhwilds, /\.game-grid/);
|
||||
assert.match(styleGames, /\.game-home-card/);
|
||||
assert.match(styleGames, /\.game-layout/);
|
||||
assert.match(styleGames, /\.game-grid/);
|
||||
assert.match(styleGames, /\.filter-panel/);
|
||||
assert.doesNotMatch(styleMhwilds, /\.game-(home-card|layout|grid)/);
|
||||
assert.match(styleCards, /compact-data-card/);
|
||||
assert.match(styleResponsive, /@media \(max-width: 760px\)/);
|
||||
assert.match(source, /features\/toolboxes\/modules\/index\.jsx/);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue