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 65 <plist version="1.0"> 66 66 <array> 67 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 68 <array/> 83 69 <dict/> 84 70 <dict /> ··· 112 98 <plist version="1.0"> 113 99 <dict> 114 100 <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 101 ??? 126 102 </dict> 127 103 </plist> ··· 152 128 <dict> 153 129 <key> 154 130 12345 155 - </plist> 156 131 `.trim(), 157 132 ].map((xml, index) => it(`throws_on_malformed_dict_content_${index + 1}_2`, () => 158 133 expect(() => deserialize_json_to_plist(xml)).toThrowError(/invalid_xml/),