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
test('If we are running a pipeline in the master branch, the extension version in `package.json` should have the "-dev" suffix',asyncfunction(){
48
+
if(branchName!=='master'){
49
+
// tslint:disable-next-line: no-invalid-this
50
+
returnthis.skip();
51
+
}
52
+
53
+
returnexpect(version.endsWith('-dev'),'When running a pipeline in the master branch, the extension version in package.json should have the -dev suffix').to.be.true;
54
+
});
55
+
56
+
test('If we are running a pipeline in the release branch, the extension version in `package.json` should not have the "-dev" suffix',asyncfunction(){
57
+
if(!branchName!.startsWith('release')){
58
+
// tslint:disable-next-line: no-invalid-this
59
+
returnthis.skip();
60
+
}
61
+
62
+
returnexpect(version.endsWith('-dev'),'When running a pipeline in the release branch, the extension version in package.json should not have the -dev suffix').to.be.false;
0 commit comments