mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 17:15:48 +00:00
test less files too
This commit is contained in:
parent
099c799d67
commit
c3ce9e6541
2 changed files with 9 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
||||||
|
// Copyright (C) 2017-2020 Smart code 203358507
|
||||||
|
|
||||||
.video-container {
|
.video-container {
|
||||||
.video {
|
.video {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
|
||||||
|
|
@ -12,4 +12,11 @@ describe('copyright', () => {
|
||||||
expect(content).toEqual(expect.stringMatching(COPYRIGHT_HEADER));
|
expect(content).toEqual(expect.stringMatching(COPYRIGHT_HEADER));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
test('less', async () => {
|
||||||
|
for await (const { fullPath } of readdirp('src', { fileFilter: '*.less' })) {
|
||||||
|
const content = await fs.promises.readFile(fullPath, 'utf8');
|
||||||
|
expect(content).toEqual(expect.stringMatching(COPYRIGHT_HEADER));
|
||||||
|
}
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue