Skip to content

Commit

Permalink
test: url variable testcase format update prevent disable eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
awcjack committed Apr 29, 2022
1 parent 14f9f18 commit 626948d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/publish.test.js
Expand Up @@ -299,7 +299,7 @@ test.serial('Publish a release with an asset link with variable', async t => {
const link = {
label: 'README.md',
type: 'other',
url: 'https://gitlab.com/gitlab-org/${repo}/-/blob/master/README.md', // eslint-disable-line no-template-curly-in-string
url: `https://gitlab.com/gitlab-org/\${repo}/-/blob/master/README.md`,
};
const assets = [link];
const gitlab = authenticate(env)
Expand Down Expand Up @@ -338,7 +338,7 @@ test.serial('Publish a release with an asset link with same variable multiple ti
const link = {
label: 'README.md',
type: 'other',
url: 'https://gitlab.com/${repo}-org/${repo}/-/blob/master/README.md', // eslint-disable-line no-template-curly-in-string
url: `https://gitlab.com/\${repo}-org/\${repo}/-/blob/master/README.md`,
};
const assets = [link];
const gitlab = authenticate(env)
Expand Down Expand Up @@ -378,7 +378,7 @@ test.serial('Publish a release with an asset link with multiple variable', async
const link = {
label: 'README.md',
type: 'other',
url: 'https://gitlab.com/${group}/${repo}/-/blob/master/README.md', // eslint-disable-line no-template-curly-in-string
url: `https://gitlab.com/\${group}/\${repo}/-/blob/master/README.md`,
};
const assets = [link];
const gitlab = authenticate(env)
Expand Down

0 comments on commit 626948d

Please sign in to comment.