mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-02 19:02:28 +00:00
chore(ai): fix unit tests and build script for reproducers
- Fixed `tests/app-batch-fetch-profiles.test.mjs` by mocking `readRelays`. - Updated `scripts/build-dist.mjs` to exclude `examples/reproducers` from the build output. - Added minimal reproducers for popover flip bug and VideoCard block action bug. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
511d664eeb
commit
3055c9c4fb
2 files changed
+9
No files matched your search
@@ -47,6 +47,10 @@ function copyDir(src, dest) {
|
||||
fs.mkdirSync(dest, { recursive: true });
|
||||
const entries = fs.readdirSync(src, { withFileTypes: true });
|
||||
for (const entry of entries) {
|
||||
// Exclude reproducers from distribution
|
||||
if (src.endsWith('examples') && entry.name === 'reproducers') {
|
||||
continue;
|
||||
}
|
||||
const srcPath = path.join(src, entry.name);
|
||||
const destPath = path.join(dest, entry.name);
|
||||
if (entry.isDirectory()) {
|
||||
|
||||
Reference in new issue
Block a user