import { FromYamlTestCaseConfig } from "../types" ; export const config = { nodesToCheck : [ { path : [ ] , expectedObjectKeys : [ "obj" ] , expectedKind : "object" , expectedPosition : { start : { line : 1 , column : 1 } , end : { line : 13 , column : 1 } , } , } , { path : [ "obj" ] , expectedObjectKeys : [ "arr" , "num" , "str" ] , expectedPosition : { start : { line : 1 , column : 1 } , end : { line : 12 , column : 11 } , } , expectedKind : "object" , expectedValue : { arr : [ { nums : [ 1 , 2 , 3 ] , strs : [ "1" , "2" , "3" ] , } , ] , num : 1 , str : "1" , } , } , { path : [ "obj" , "num" ] , expectedPosition : { start : { line : 11 , column : 3 } , end : { line : 11 , column : 9 } , } , expectedKind : "number" , expectedValue : 1 , } , { path : [ "obj" , "str" ] , expectedPosition : { start : { line : 12 , column : 3 } , end : { line : 12 , column : 11 } , } , expectedValue : "1" , } , { path : [ "obj" , "arr" , 0 ] , expectedObjectKeys : [ "nums" , "strs" ] , expectedPosition : { start : { line : 3 , column : 5 } , end : { line : 11 , column : 3 } , } , expectedKind : "object" , } , { path : [ "obj" , "arr" , 0 , "nums" ] , expectedPosition : { start : { line : 3 , column : 5 } , end : { line : 7 , column : 5 } , } , expectedKind : "array" , expectedArrayLength : 3 , expectedValue : [ 1 , 2 , 3 ] , } , { path : [ "obj" , "arr" , 0 , "strs" ] , expectedPosition : { start : { line : 7 , column : 5 } , end : { line : 11 , column : 3 } , } , expectedKind : "array" , expectedArrayLength : 3 , expectedValue : [ "1" , "2" , "3" ] , } , { path : [ "non-existing" ] , expectedKind : "undefined" , } , ] , } ;