Skip to content

Commit

Permalink
Remove duplicate tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fasttime committed Jul 7, 2023
1 parent cce75f4 commit c6e8fb6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/lib/rules/utils/ast-utils.js
Expand Up @@ -1878,10 +1878,6 @@ describe("ast-utils", () => {

describe("isDirective", () => {
const expectedResults = [
{ code: '"use strict";', expectedRetVal: true },
{ code: '"use strict"; "use asm";', nodeText: '"use asm";', expectedRetVal: true },
{ code: 'const a = () => { "foo"; }', nodeText: '"foo";', expectedRetVal: true },
{ code: '"";', expectedRetVal: true },
{ code: '"use strict";', expectedRetVal: true },
{ code: '"use strict"; "use asm";', nodeText: '"use asm";', expectedRetVal: true },
{ code: 'const a = () => { "foo"; }', nodeText: '"foo";', expectedRetVal: true },
Expand Down

0 comments on commit c6e8fb6

Please sign in to comment.