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
assert(tr.stdout.indexOf("This declaration type is not recognized. Specify a parameter, variable, resource, or output declaration.")>0,"should have printed the error message")
225
-
assert(tr.stdout.indexOf("deployments.createOrUpdate is called")<0,"deployments.createOrUpdate function should not have been called from azure-sdk");
226
-
done();
227
-
}
228
-
catch(error){
229
-
console.log("STDERR",tr.stderr);
230
-
console.log("STDOUT",tr.stdout);
231
-
done(error);
232
-
}
233
-
});
216
+
// it('createOrUpdate deployment should fail when bicep file contains error', (done) => {
217
+
// let tp = path.join(__dirname, 'createOrUpdate.js');
// assert(tr.stdout.indexOf("This declaration type is not recognized. Specify a parameter, variable, resource, or output declaration.") > 0, "should have printed the error message")
225
+
// assert(tr.stdout.indexOf("deployments.createOrUpdate is called") < 0, "deployments.createOrUpdate function should not have been called from azure-sdk");
0 commit comments