vitest-cucumber-plugin
vitest-cucumber-plugin copied to clipboard
Plugin can't parse a `.feature` file
I added the simple example from the Cucumber setup instructions:
Feature: Is it Friday yet?
Everybody wants to know when it's Friday
Scenario: Sunday isn't Friday
Given today is Sunday
When I ask whether it's Friday yet
Then I should be told "Nope"
I've configured the plugin per the instructions in this repo's readme.
The error when running tests is: Unexpected end of file
. I did some debugging and the parser is definitely getting the file contents, but simply can't parse it. 🤷♂️
Here's a reproduction: https://stackblitz.com/edit/vitest-dev-vitest-ymdex6?file=vite.config.ts,test%2Ftest.feature