From 6267e5222d80aa0beb3a933676d3157c27a9d03f Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Tue, 2 May 2023 09:18:15 +0200 Subject: new keymap for make options, new snippet --- lua/alpha/snips/ft/cucumber.lua | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lua/alpha') diff --git a/lua/alpha/snips/ft/cucumber.lua b/lua/alpha/snips/ft/cucumber.lua index cb74586..6176a87 100644 --- a/lua/alpha/snips/ft/cucumber.lua +++ b/lua/alpha/snips/ft/cucumber.lua @@ -9,6 +9,13 @@ local M = { all = t [[And all stubs should be matched]], status_code = fmt([[Then the response status code should be {}]], { i(1, "200") }), no_error = t [[And the JSON path expression errors should not have result]], + json_data = fmt([[And the JSON path expression "data" should be equal to: +""" +{{ + {} +}} +""" + ]], {i(1)}), feature = fmt( [[Feature: {} -- cgit v1.2.3