diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index 3736a9c..e4ac0f7 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -32,10 +32,10 @@ jobs: - os: ubuntu-20.04 url: https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.tar.gz - os: ubuntu-20.04 - url: https://github.com/neovim/neovim/releases/download/v0.7.0/nvim-linux64.tar.gz + url: https://github.com/neovim/neovim/releases/download/v0.9.0/nvim-linux64.tar.gz steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: date +%F > todays-date - name: Restore cache for today's nightly. uses: actions/cache@v2 diff --git a/README.md b/README.md index 4b2ac1f..c390055 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,9 @@ [![build](https://github.com/haydenmeade/neotest-jest/actions/workflows/workflow.yaml/badge.svg)](https://github.com/haydenmeade/neotest-jest/actions/workflows/workflow.yaml) -This plugin provides a jest adapter for the [Neotest](https://github.com/rcarriga/neotest) framework. +This plugin provides a [jest](https://github.com/jestjs/jest) adapter for the [Neotest](https://github.com/rcarriga/neotest) framework. +Requires at least Neotest version 4.0.0 which in turn requires at least neovim version 0.9.0. + **It is currently a work in progress**. ## Installation diff --git a/tests/init_spec.lua b/tests/init_spec.lua index 27c0dde..fdd9689 100644 --- a/tests/init_spec.lua +++ b/tests/init_spec.lua @@ -241,7 +241,7 @@ describe("build_spec", function() local tree = Tree.from_list(positions, function(pos) return pos.id end) - local spec = plugin.build_spec({ tree = tree, jestCommand = 'jest --watch ' }) + local spec = plugin.build_spec({ tree = tree, jestCommand = "jest --watch " }) assert.is.truthy(spec) local command = spec.command