Updated describe block for better logging
This commit is contained in:
parent
cd8af3e2c4
commit
a631454b91
|
@ -18,9 +18,14 @@ const { GITHUB_REPOSITORY, PLUGIN_NAME, GITHUB_TOKEN } = process.env;
|
|||
let zipUrl;
|
||||
let pluginPath;
|
||||
|
||||
utils.describeIf( GITHUB_REPOSITORY )( 'Upload and activate plugin', () => {
|
||||
utils.describeIf( GITHUB_REPOSITORY )(
|
||||
`Upload and activate ${ PLUGIN_NAME } from ${ GITHUB_REPOSITORY }`,
|
||||
() => {
|
||||
beforeAll( async () => {
|
||||
zipUrl = await getLatestReleaseZipUrl( GITHUB_REPOSITORY, GITHUB_TOKEN );
|
||||
zipUrl = await getLatestReleaseZipUrl(
|
||||
GITHUB_REPOSITORY,
|
||||
GITHUB_TOKEN
|
||||
);
|
||||
|
||||
pluginPath = await getRemotePluginZip( zipUrl, GITHUB_TOKEN );
|
||||
|
||||
|
@ -38,5 +43,5 @@ utils.describeIf( GITHUB_REPOSITORY )( 'Upload and activate plugin', () => {
|
|||
it( 'can remove downloaded plugin zip', async () => {
|
||||
await deleteDownloadedPluginFiles();
|
||||
} );
|
||||
|
||||
});
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue