packages/llms-e2e-test-utils/src/create-user.js
Function createUser
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export async function createUser( opts = {} ) {
await visitAdminPage( 'user-new.php' );
const login = `mock_${ Math.random().toString( 36 ).slice( 2 ) }`;
opts = Object.assign(