Make capacitor tests version-resilient (#624)
This commit is contained in:
@@ -112,6 +112,11 @@ export function generateAppFilesSnapshotData(
|
||||
if (entry.name === "package.json") {
|
||||
const packageJson = JSON.parse(content);
|
||||
packageJson.packageManager = "<scrubbed>";
|
||||
for (const key in packageJson.dependencies) {
|
||||
if (key.startsWith("@capacitor/")) {
|
||||
packageJson.dependencies[key] = "<scrubbed>";
|
||||
}
|
||||
}
|
||||
content = JSON.stringify(packageJson, null, 2);
|
||||
}
|
||||
files.push({ relativePath, content });
|
||||
|
||||
@@ -2088,10 +2088,10 @@ end
|
||||
}
|
||||
|
||||
=== ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-1.png ===
|
||||
[binary hash="1b5002b74a5500e697298ced06ca2811ac33f2771f236f3c720ff23243890530"]
|
||||
|
||||
=== ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-2.png ===
|
||||
[binary hash="1b5002b74a5500e697298ced06ca2811ac33f2771f236f3c720ff23243890530"]
|
||||
[binary hash="1b5002b74a5500e697298ced06ca2811ac33f2771f236f3c720ff23243890530"]
|
||||
|
||||
=== ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-2.png ===
|
||||
[binary hash="1b5002b74a5500e697298ced06ca2811ac33f2771f236f3c720ff23243890530"]
|
||||
|
||||
=== ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732.png ===
|
||||
[binary hash="1b5002b74a5500e697298ced06ca2811ac33f2771f236f3c720ff23243890530"]
|
||||
|
||||
Reference in New Issue
Block a user