if((prime!=="bn128")&&(prime!=="bls12381")&&(prime!=="goldilocks")&&(this._compilationConfig.version==='2.1.5'))thrownewError('Invalid prime value')
if((prime!=="bn128")&&(prime!=="bls12381")&&(prime!=="goldilocks")&&(prime!=="grumpkin")&&(prime!=="pallas")&&(prime!=="vesta")&&(this._compilationConfig.version==='2.1.6'))thrownewError('Invalid prime value')
if((prime!=="bn128")&&(prime!=="bls12381")&&(prime!=="goldilocks")&&(prime!=="grumpkin")&&(prime!=="pallas")&&(prime!=="vesta")&&(this._compilationConfig.version==='2.1.7'))thrownewError('Invalid prime value')
if((prime!=="bn128")&&(prime!=="bls12381")&&(prime!=="goldilocks")&&(prime!=="grumpkin")&&(prime!=="pallas")&&(prime!=="vesta")&&(prime!=="secq256r1")&&(this._compilationConfig.version==='2.1.8'))thrownewError('Invalid prime value')
this._compilationConfig.prime=prime
}
@ -54,7 +61,7 @@ export class CircomPluginClient extends PluginClient {
.waitForElementContainsText('[data-id="circuit_feedback"]','File circuits/simple.circom does not include pragma version. Assuming pragma version (2, 1, 6)')
.waitForElementContainsText('[data-id="circuit_feedback"]','File circuits/simple.circom does not include pragma version. Assuming pragma version (2, 1, 8)')
},
'Should hide/show warnings for compiled circuit #group4':function(browser: NightwatchBrowser){
.waitForElementContainsText('[data-id="circuit_feedback"]','File circuits/simple.circom does not include pragma version. Assuming pragma version (2, 1, 6)')
.waitForElementContainsText('[data-id="circuit_feedback"]','File circuits/simple.circom does not include pragma version. Assuming pragma version (2, 1, 8)')
},
'Should display error for invalid circuit #group4':function(browser: NightwatchBrowser){