From ca5abe8c6f82ca73286b3af430767643b607a24e Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Fri, 6 Jul 2018 15:18:38 +0100 Subject: [PATCH] Issue #2983382 by ApacheEx, drpal: JS codestyle: spaced-comment --- core/.eslintrc.passing.json | 3 +-- core/tests/Drupal/Nightwatch/Tests/exampleTest.js | 13 ------------- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/core/.eslintrc.passing.json b/core/.eslintrc.passing.json index 3ee572f109c2..52bbfc7e42da 100644 --- a/core/.eslintrc.passing.json +++ b/core/.eslintrc.passing.json @@ -13,7 +13,6 @@ "react/no-this-in-sfc": "off", "react/destructuring-assignment": "off", "implicit-arrow-linebreak": "off", - "import/named": "off", - "spaced-comment": "off" + "import/named": "off" } } diff --git a/core/tests/Drupal/Nightwatch/Tests/exampleTest.js b/core/tests/Drupal/Nightwatch/Tests/exampleTest.js index eeb1f4af96ab..42871c25de2a 100644 --- a/core/tests/Drupal/Nightwatch/Tests/exampleTest.js +++ b/core/tests/Drupal/Nightwatch/Tests/exampleTest.js @@ -15,17 +15,4 @@ module.exports = { .assert.containsText('body', 'Test page text') .drupalLogAndEnd({ onlyOnError: false }); }, - /** - 'Example failing test': (browser) => { - browser - // Change this to point at a site which has some console errors, as the - // test site that was just installed doesn't. - .url('https://www./') - .waitForElementVisible('h1', 1000) - // Wait for some errors to build up. - .pause(5000) - .assert.containsText('h1', 'I\'m the operator with my pocket calculator') - .drupalLogAndEnd(); - }, - **/ }; -- GitLab