mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-01-11 22:40:31 +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 {
|
||||
width: 100%;
|
||||
|
|
|
|||
|
|
@ -12,4 +12,11 @@ describe('copyright', () => {
|
|||
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