Its a crux!

chore: test cleanups

Signed-off-by: Jonathan Basniak <740416+gm112@users.noreply.github.com>

-25
-25
modules/nuxt-module-capacitor/src/cli/ios/plist-parser.test.ts
··· 65 <plist version="1.0"> 66 <array> 67 <string>ok</string> 68 - <true/> 69 - <123></123> 70 - <test></test> 71 - <barf/> 72 - ssss 73 - </array> 74 - </plist> 75 - `.trim(), 76 - ` 77 - <?xml version="1.0" encoding="UTF-8"?> 78 - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> 79 - <plist version="1.0"> 80 - <array> 81 - <string>ok</string> 82 <array/> 83 <dict/> 84 <dict /> ··· 112 <plist version="1.0"> 113 <dict> 114 <key>CFBundleName</key> 115 - <!-- missing value here --> 116 - </dict> 117 - </plist> 118 - `.trim(), 119 - ` 120 - <?xml version="1.0" encoding="UTF-8"?> 121 - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> 122 - <plist version="1.0"> 123 - <dict> 124 - <key>CFBundleName</key> 125 ??? 126 </dict> 127 </plist> ··· 152 <dict> 153 <key> 154 12345 155 - </plist> 156 `.trim(), 157 ].map((xml, index) => it(`throws_on_malformed_dict_content_${index + 1}_2`, () => 158 expect(() => deserialize_json_to_plist(xml)).toThrowError(/invalid_xml/),
··· 65 <plist version="1.0"> 66 <array> 67 <string>ok</string> 68 <array/> 69 <dict/> 70 <dict /> ··· 98 <plist version="1.0"> 99 <dict> 100 <key>CFBundleName</key> 101 ??? 102 </dict> 103 </plist> ··· 128 <dict> 129 <key> 130 12345 131 `.trim(), 132 ].map((xml, index) => it(`throws_on_malformed_dict_content_${index + 1}_2`, () => 133 expect(() => deserialize_json_to_plist(xml)).toThrowError(/invalid_xml/),