group editor implemented
This commit is contained in:
@@ -34,7 +34,7 @@ test('every static HTML id is referenced by client JavaScript or accessible HTML
|
||||
|
||||
test('every static HTML class is used by CSS or authored JavaScript', async () => {
|
||||
const html = await read('public/index.html');
|
||||
const css = `${await read('public/css/bootstrap.css')}\n${await read('public/css/app.css')}`;
|
||||
const css = `${await read('public/css/bootstrap.css')}\n${await read('public/css/app.css')}\n${await read('public/css/editor.css')}`;
|
||||
const scripts = (await clientSources()).join('\n');
|
||||
const classes = [...html.matchAll(/\bclass="([^"]+)"/g)]
|
||||
.flatMap(match => match[1].split(/\s+/))
|
||||
|
||||
Reference in New Issue
Block a user