mirror of
https://github.com/cypress-io/cypress.git
synced 2026-03-09 10:09:52 -05:00
re-add snapshot
This commit is contained in:
@@ -26,3 +26,87 @@ exports['packages can copy files from package.json 1'] = {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
exports['transformRequires can find and replace symlink requires 1'] = {
|
||||
"[cwd]": {
|
||||
"build": {
|
||||
"linux": {
|
||||
"Cypress": {
|
||||
"resources": {
|
||||
"app": {
|
||||
"packages": {
|
||||
"foo": {
|
||||
"package.json": "{\"main\":\"src/main.js\", \"name\": \"foo\", \"files\": [\"lib\"]}",
|
||||
"src": {
|
||||
"main.js": "console.log()"
|
||||
},
|
||||
"lib": {
|
||||
"foo.js": "require(\"../../bar/src/main\")"
|
||||
}
|
||||
},
|
||||
"bar": {
|
||||
"package.json": "{\"main\":\"src/main.js\", \"name\": \"foo\", \"files\": [\"lib\"]}",
|
||||
"src": {
|
||||
"main.js": "console.log()"
|
||||
},
|
||||
"lib": {
|
||||
"foo.js": "require(\"../../foo/lib/somefoo\")"
|
||||
},
|
||||
"node_modules": {
|
||||
"no-search.js": ""
|
||||
},
|
||||
"dist": {
|
||||
"no-search.js": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"tmp": {}
|
||||
}
|
||||
|
||||
exports['transformRequires can find and replace symlink requires on win32 1'] = {
|
||||
"[cwd]": {
|
||||
"build": {
|
||||
"linux": {
|
||||
"Cypress": {
|
||||
"resources": {
|
||||
"app": {
|
||||
"packages": {
|
||||
"foo": {
|
||||
"package.json": "{\"main\":\"src/main.js\", \"name\": \"foo\", \"files\": [\"lib\"]}",
|
||||
"src": {
|
||||
"main.js": "console.log()"
|
||||
},
|
||||
"lib": {
|
||||
"foo.js": "require(\"../../bar/src/main\")"
|
||||
}
|
||||
},
|
||||
"bar": {
|
||||
"package.json": "{\"main\":\"src/main.js\", \"name\": \"foo\", \"files\": [\"lib\"]}",
|
||||
"src": {
|
||||
"main.js": "console.log()"
|
||||
},
|
||||
"lib": {
|
||||
"foo.js": "require(\"../../foo/lib/somefoo\")"
|
||||
},
|
||||
"node_modules": {
|
||||
"no-search.js": ""
|
||||
},
|
||||
"dist": {
|
||||
"no-search.js": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"tmp": {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user