From 112d16165f0d6732444457c367c25842650afea2 Mon Sep 17 00:00:00 2001 From: Bernie Reiter Date: Wed, 30 Nov 2022 14:05:58 +0000 Subject: [PATCH] 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 --- tests/e2e/specs/gutenberg-plugin.test.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/e2e/specs/gutenberg-plugin.test.js b/tests/e2e/specs/gutenberg-plugin.test.js index 75ac0a6b6d..21b6e9737d 100644 --- a/tests/e2e/specs/gutenberg-plugin.test.js +++ b/tests/e2e/specs/gutenberg-plugin.test.js @@ -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' ); } ); } );