Build/Test Tools: Stylistic changes to Gutenberg e2e test.

Make some stylistic changes (multiline comment formatting, test description) that had been suggested during code review and that didn't make it into the previous commit.

Props costdev.
Follows [54913].
See #57197.

git-svn-id: https://develop.svn.wordpress.org/trunk@54914 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Bernie Reiter
2022-11-30 14:05:58 +00:00
parent bb2f8a6d4f
commit 112d16165f

View File

@@ -14,11 +14,13 @@ describe( 'Gutenberg plugin', () => {
await uninstallPlugin( 'gutenberg' );
} );
it( 'Activate the Gutenberg plugin', async () => {
it( 'should activate', async () => {
await activatePlugin( 'gutenberg' );
// If plugin activation fails, it will time out and throw an error,
// since the activatePlugin helper is looking for a `.deactivate` link
// which is only there if activation succeeds.
/*
* If plugin activation fails, it will time out and throw an error,
* since the activatePlugin helper is looking for a `.deactivate` link
* which is only there if activation succeeds.
*/
await deactivatePlugin( 'gutenberg' );
} );
} );