Skip to content

Commit

Permalink
Merge pull request #103 from MisanthropicBit/fix-workflow
Browse files Browse the repository at this point in the history
Fix styling, update workflow
  • Loading branch information
haydenmeade authored Mar 21, 2024
2 parents 959d45b + 3572e6c commit 446e744
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/init_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 446e744

Please sign in to comment.