Skip to content

Commit 8477d14

Browse files
committed
test: change confusing tag names in tests
1 parent 350f0a1 commit 8477d14

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/publish.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ test.serial('Publish a release', async t => {
2424
const repo = 'test_repo';
2525
const env = {GITLAB_TOKEN: 'gitlab_token'};
2626
const pluginConfig = {};
27-
const nextRelease = {gitHead: '123', gitTag: '@scope/v1.0.0', notes: 'Test release note body'};
27+
const nextRelease = {gitHead: '123', gitTag: 'v1.0.0', notes: 'Test release note body'};
2828
const options = {repositoryUrl: `https://gitlab.com/${owner}/${repo}.git`};
2929
const encodedRepoId = encodeURIComponent(`${owner}/${repo}`);
3030
const encodedGitTag = encodeURIComponent(nextRelease.gitTag);
@@ -47,7 +47,7 @@ test.serial('Publish a release with assets', async t => {
4747
const owner = 'test_user';
4848
const repo = 'test_repo';
4949
const env = {GITLAB_TOKEN: 'gitlab_token'};
50-
const nextRelease = {gitHead: '123', gitTag: '@scope/v1.0.0', notes: 'Test release note body'};
50+
const nextRelease = {gitHead: '123', gitTag: 'v1.0.0', notes: 'Test release note body'};
5151
const options = {repositoryUrl: `https://gitlab.com/${owner}/${repo}.git`};
5252
const encodedRepoId = encodeURIComponent(`${owner}/${repo}`);
5353
const encodedGitTag = encodeURIComponent(nextRelease.gitTag);
@@ -84,7 +84,7 @@ test.serial('Publish a release with array of missing assets', async t => {
8484
const owner = 'test_user';
8585
const repo = 'test_repo';
8686
const env = {GITLAB_TOKEN: 'gitlab_token'};
87-
const nextRelease = {gitHead: '123', gitTag: '@scope/v1.0.0', notes: 'Test release note body'};
87+
const nextRelease = {gitHead: '123', gitTag: 'v1.0.0', notes: 'Test release note body'};
8888
const options = {repositoryUrl: `https://gitlab.com/${owner}/${repo}.git`};
8989
const encodedRepoId = encodeURIComponent(`${owner}/${repo}`);
9090
const encodedGitTag = encodeURIComponent(nextRelease.gitTag);
@@ -108,7 +108,7 @@ test.serial('Publish a release with one asset and custom label', async t => {
108108
const owner = 'test_user';
109109
const repo = 'test_repo';
110110
const env = {GITLAB_TOKEN: 'gitlab_token'};
111-
const nextRelease = {gitHead: '123', gitTag: '@scope/v1.0.0', notes: 'Test release note body'};
111+
const nextRelease = {gitHead: '123', gitTag: 'v1.0.0', notes: 'Test release note body'};
112112
const options = {repositoryUrl: `https://gitlab.com/${owner}/${repo}.git`};
113113
const encodedRepoId = encodeURIComponent(`${owner}/${repo}`);
114114
const encodedGitTag = encodeURIComponent(nextRelease.gitTag);

0 commit comments

Comments
 (0)