You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
expect(metadata).toEqual([{authors: 'mezz',credits: '',dependencies: [],description: 'JEI is an item and recipe viewing mod for Minecraft, built from the ground up for stability and performance.\n',displayName: 'Just Enough Items',displayURL: 'https://minecraft.curseforge.com/projects/jei',issueTrackerURL: 'https://github.com/mezz/JustEnoughItems/issues?q=is%3Aissue',loaderVersion: '[14,)',logoFile: '',modLoader: 'javafml',modid: 'jei',provides: [],updateJSONURL: '',version: '${file.jarVersion}'}])
19
+
expect(metadata).toEqual([{authors: 'mezz',credits: '',dependencies: [],description: 'JEI is an item and recipe viewing mod for Minecraft, built from the ground up for stability and performance.\n',displayName: 'Just Enough Items',displayURL: 'https://minecraft.curseforge.com/projects/jei',issueTrackerURL: 'https://github.com/mezz/JustEnoughItems/issues?q=is%3Aissue',loaderVersion: '[14,)',logoFile: '',modLoader: 'javafml',modid: 'jei',provides: [],updateJSONURL: '',version: '${file.jarVersion}',clientSideOnly: false}])
20
+
})
21
+
22
+
test('should read if the mod is client side only',async({ mock })=>{
expect(metadata).toEqual([{authors: 'mezz',credits: '',dependencies: [],description: 'JEI is an item and recipe viewing mod for Minecraft, built from the ground up for stability and performance.\n',displayName: 'Just Enough Items',displayURL: 'https://minecraft.curseforge.com/projects/jei',issueTrackerURL: 'https://github.com/mezz/JustEnoughItems/issues?q=is%3Aissue',loaderVersion: '[14,)',logoFile: '',modLoader: 'javafml',modid: 'jei',provides: [],updateJSONURL: '',version: '${file.jarVersion}',clientSideOnly: true}])
20
25
})
21
26
22
27
test('should read >1.13 forge mod jar',async({ mock })=>{
0 commit comments