From 044ecce462843e980cd4bbdf6aa3f4ca7d51887d Mon Sep 17 00:00:00 2001 From: Toru Nagashima Date: Wed, 15 Aug 2018 15:31:07 +0900 Subject: [PATCH] Chore: fix tests to follow moving files in eslint --- tests/lib/rules/no-missing-import.js | 2 +- tests/lib/rules/no-missing-require.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/lib/rules/no-missing-import.js b/tests/lib/rules/no-missing-import.js index 8ce4e99d..e9986e7b 100644 --- a/tests/lib/rules/no-missing-import.js +++ b/tests/lib/rules/no-missing-import.js @@ -29,7 +29,7 @@ ruleTester.run("no-missing-import", rule, { filename: fixture("test.js"), }, { - code: "import eslint from 'eslint/lib/ast-utils';", + code: "import eslint from 'eslint/lib/api';", filename: fixture("test.js"), }, { diff --git a/tests/lib/rules/no-missing-require.js b/tests/lib/rules/no-missing-require.js index 470591e6..c4fa73d3 100644 --- a/tests/lib/rules/no-missing-require.js +++ b/tests/lib/rules/no-missing-require.js @@ -31,7 +31,7 @@ ruleTester.run("no-missing-require", rule, { env: { node: true }, }, { - code: "require('eslint/lib/ast-utils');", + code: "require('eslint/lib/api');", filename: fixture("test.js"), env: { node: true }, },