Add support for loading files from Google Drive

#vibecoded
This commit is contained in:
Przemek Więch
2026-05-19 00:38:16 +02:00
parent 60e076fca1
commit 55a1626cf4
26 changed files with 2005 additions and 107 deletions

View File

@@ -0,0 +1,14 @@
const { TsJestTransformer } = require('ts-jest');
const defaultTransformer = new TsJestTransformer();
module.exports = {
process(sourceText, sourcePath, options) {
if (sourceText.includes('import.meta.env')) {
sourceText = sourceText.replace(/import\.meta\.env/g, 'process.env');
}
return defaultTransformer.process(sourceText, sourcePath, options);
},
getCacheKey(sourceText, sourcePath, options) {
return defaultTransformer.getCacheKey(sourceText, sourcePath, options);
}
};

Binary file not shown.

Before

Width:  |  Height:  |  Size: 234 KiB

After

Width:  |  Height:  |  Size: 234 KiB