mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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' );
|
||||
} );
|
||||
} );
|
||||
|
||||
Reference in New Issue
Block a user