mirror of
https://github.com/wled/WLED.git
synced 2025-07-19 08:46:34 +00:00
add cdata test for package.json & fix a small bug
This commit is contained in:
parent
93d9ce18b2
commit
a7e17eabff
@ -131,7 +131,7 @@ describe('Script', () => {
|
||||
// run script cdata.js again and wait for it to finish
|
||||
await execPromise('node tools/cdata.js');
|
||||
|
||||
checkIfFileWasNewlyCreated(path.join(folderPath, resultFile));
|
||||
await checkIfFileWasNewlyCreated(path.join(folderPath, resultFile));
|
||||
}
|
||||
|
||||
describe('should build if', () => {
|
||||
@ -182,6 +182,10 @@ describe('Script', () => {
|
||||
it('cdata.js changes', async () => {
|
||||
await testFileModification('tools/cdata.js', 'html_ui.h');
|
||||
});
|
||||
|
||||
it('package.json changes', async () => {
|
||||
await testFileModification('package.json', 'html_ui.h');
|
||||
});
|
||||
});
|
||||
|
||||
describe('should not build if', () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user