Skip to content

Commit

Permalink
remove testcases
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Aug 16, 2021
1 parent d4739ca commit 68ec1e3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions tests/src/rules/no-amd.js
Expand Up @@ -25,9 +25,6 @@ ruleTester.run('no-amd', require('rules/no-amd'), {
// unmatched arg types/number
'define(0, 1, 2)',
'define("a")',

// sourceType: 'script'
{ code: 'define([], function(a) {})', parserOptions: { ecmaVersion: 2015, sourceType: 'script' } },
],

invalid: semver.satisfies(eslintPkg.version, '< 4.0.0') ? [] : [
Expand Down
3 changes: 0 additions & 3 deletions tests/src/rules/no-commonjs.js
Expand Up @@ -63,9 +63,6 @@ ruleTester.run('no-commonjs', require('rules/no-commonjs'), {
{ code: 'if (typeof window !== "undefined") { require("x") }', options: [{ allowRequire: false }] },

{ code: 'try { require("x") } catch (error) {}' },

// sourceType: 'script'
{ code: 'var x = require("x")', parserOptions: { ecmaVersion: 2015, sourceType: 'script' } },
],

invalid: [
Expand Down

0 comments on commit 68ec1e3

Please sign in to comment.