Lines Matching full:should
48 it('should return undefined if file does not exist', () => {
55 it('should return undefined if readJsonSync throws an error', () => {
63 it('should return JSON content if file exists and is valid', () => {
73 it('should return undefined for empty string', () => {
78 it('should return undefined for string without dot', () => {
83 it('should return undefined for path string without dot', () => {
88 it('should return undefined for string ending with a dot', () => {
93 it('should return extension for valid file path', () => {
98 it('should return extension for valid file name with multiple dots', () => {
105 it('should return true for relative paths starting with ./', () => {
110 it('should return true for relative paths starting with ../', () => {
115 it('should return true for relative paths starting with .\\', () => {
120 it('should return true for relative paths starting with ..\\', () => {
125 it('should return false for absolute paths', () => {
130 it('should return false for Windows absolute paths', () => {
141 it('should return true if file is readable', () => {
147 it('should return false if file is not readable', () => {
167 it('should convert Windows path to Unix path', () => {
184 it('should return Unix path unchanged', () => {
192 it('should return absolute path', () => {
197 it('should return non-absolute path', () => {
201 it('should handle empty paths', () => {