From 8702dcdc1e15f57c01d8ef2c9805e31d2e915cc1 Mon Sep 17 00:00:00 2001 From: Mika Vilpas Date: Sat, 16 Nov 2024 00:36:00 +0200 Subject: [PATCH] build: fix eslint error about missing neovim pkg in integration-tests #436 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The following error was reported by eslint: ```sh ❯ npm run lint ... /Users/mikavilpas/git/neovim-node-client/packages/integration-tests/src/factory.test.ts:1:62: Unable to resolve path to module 'neovim'. [Error/import/no-unresolved] 1 problem ``` --- package-lock.json | 3 ++- packages/integration-tests/package.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index e32c4a00..b1a917e3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8604,7 +8604,8 @@ "c8": "^10.1.2", "expect": "^29.7.0", "jest-mock": "^29.7.0", - "mocha": "^10.7.3" + "mocha": "^10.7.3", + "neovim": "file:../neovim" } }, "packages/neovim": { diff --git a/packages/integration-tests/package.json b/packages/integration-tests/package.json index 426d85e8..5bfe9d56 100644 --- a/packages/integration-tests/package.json +++ b/packages/integration-tests/package.json @@ -54,6 +54,7 @@ "c8": "^10.1.2", "expect": "^29.7.0", "jest-mock": "^29.7.0", - "mocha": "^10.7.3" + "mocha": "^10.7.3", + "neovim": "file:../neovim" } }