|
| 1 | +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing |
| 2 | + |
| 3 | +exports[`cached template integration tests first clone with variable replacement should snapshot created directory structure 1`] = ` |
| 4 | +[ |
| 5 | + "module/", |
| 6 | + "module/README.md", |
| 7 | + "module/__tests__/", |
| 8 | + "module/__tests__/basic.test.ts", |
| 9 | + "module/jest.config.js", |
| 10 | + "module/package.json", |
| 11 | + "workspace/", |
| 12 | + "workspace/.eslintrc.json", |
| 13 | + "workspace/.github/", |
| 14 | + "workspace/.github/run-tests.yaml", |
| 15 | + "workspace/.gitignore", |
| 16 | + "workspace/.prettierrc.json", |
| 17 | + "workspace/.vscode/", |
| 18 | + "workspace/.vscode/settings.json", |
| 19 | + "workspace/LICENSE", |
| 20 | + "workspace/Makefile", |
| 21 | + "workspace/README.md", |
| 22 | + "workspace/bin/", |
| 23 | + "workspace/bin/install.sh", |
| 24 | + "workspace/docker-compose.yml", |
| 25 | + "workspace/launchql.json", |
| 26 | + "workspace/lerna.json", |
| 27 | + "workspace/package.json", |
| 28 | + "workspace/pnpm-workspace.yaml", |
| 29 | + "workspace/tsconfig.json", |
| 30 | +] |
| 31 | +`; |
| 32 | + |
| 33 | +exports[`cached template integration tests first clone with variable replacement should snapshot package.json files if they exist 1`] = ` |
| 34 | +{ |
| 35 | + "module/package.json": { |
| 36 | + "author": "__USERFULLNAME__ <__USEREMAIL__>", |
| 37 | + "bugs": { |
| 38 | + "url": "https://github.com/__USERNAME__/__REPONAME__/issues", |
| 39 | + }, |
| 40 | + "description": "__MODULEDESC__", |
| 41 | + "devDependencies": { |
| 42 | + "pgsql-test": "^2.13.2", |
| 43 | + }, |
| 44 | + "homepage": "https://github.com/__USERNAME__/__REPONAME__", |
| 45 | + "keywords": [], |
| 46 | + "license": "SEE LICENSE IN LICENSE", |
| 47 | + "name": "__PACKAGE_IDENTIFIER__", |
| 48 | + "pnpm": { |
| 49 | + "overrides": { |
| 50 | + "graphql": "14.7.0", |
| 51 | + }, |
| 52 | + }, |
| 53 | + "publishConfig": { |
| 54 | + "access": "__ACCESS__", |
| 55 | + "directory": "dist", |
| 56 | + }, |
| 57 | + "repository": { |
| 58 | + "type": "git", |
| 59 | + "url": "https://github.com/__USERNAME__/__REPONAME__", |
| 60 | + }, |
| 61 | + "scripts": { |
| 62 | + "lint": "eslint . --fix", |
| 63 | + "test": "jest", |
| 64 | + "test:watch": "jest --watch", |
| 65 | + }, |
| 66 | + "version": "0.0.1", |
| 67 | + }, |
| 68 | + "workspace/package.json": { |
| 69 | + "author": "__USERFULLNAME__ <__USEREMAIL__>", |
| 70 | + "devDependencies": { |
| 71 | + "@types/jest": "^29.5.14", |
| 72 | + "@types/node": "^22.10.2", |
| 73 | + "@typescript-eslint/eslint-plugin": "^8.15.0", |
| 74 | + "@typescript-eslint/parser": "^8.15.0", |
| 75 | + "eslint": "^9.13.0", |
| 76 | + "eslint-config-prettier": "^10.1.1", |
| 77 | + "eslint-plugin-simple-import-sort": "^12.1.1", |
| 78 | + "eslint-plugin-unused-imports": "^4.3.0", |
| 79 | + "jest": "^29.7.0", |
| 80 | + "lerna": "^8.2.4", |
| 81 | + "pgsql-test": "^2.13.2", |
| 82 | + "prettier": "^3.3.3", |
| 83 | + "ts-jest": "^29.2.5", |
| 84 | + "ts-node": "^10.9.2", |
| 85 | + "typescript": "^5.6.3", |
| 86 | + }, |
| 87 | + "license": "SEE LICENSE IN LICENSE", |
| 88 | + "name": "__MODULENAME__", |
| 89 | + "pnpm": { |
| 90 | + "overrides": { |
| 91 | + "graphql": "14.7.0", |
| 92 | + }, |
| 93 | + }, |
| 94 | + "private": true, |
| 95 | + "publishConfig": { |
| 96 | + "access": "restricted", |
| 97 | + }, |
| 98 | + "repository": { |
| 99 | + "type": "git", |
| 100 | + "url": "https://github.com/__USERNAME__/__MODULENAME__", |
| 101 | + }, |
| 102 | + "scripts": { |
| 103 | + "lint": "pnpm -r run lint", |
| 104 | + }, |
| 105 | + "version": "0.0.1", |
| 106 | + "workspaces": [ |
| 107 | + "packages/*", |
| 108 | + ], |
| 109 | + }, |
| 110 | +} |
| 111 | +`; |
| 112 | + |
| 113 | +exports[`cached template integration tests second clone from cache should snapshot created directory structure from cache 1`] = ` |
| 114 | +[ |
| 115 | + "module/", |
| 116 | + "module/README.md", |
| 117 | + "module/__tests__/", |
| 118 | + "module/__tests__/basic.test.ts", |
| 119 | + "module/jest.config.js", |
| 120 | + "module/package.json", |
| 121 | + "workspace/", |
| 122 | + "workspace/.eslintrc.json", |
| 123 | + "workspace/.github/", |
| 124 | + "workspace/.github/run-tests.yaml", |
| 125 | + "workspace/.gitignore", |
| 126 | + "workspace/.prettierrc.json", |
| 127 | + "workspace/.vscode/", |
| 128 | + "workspace/.vscode/settings.json", |
| 129 | + "workspace/LICENSE", |
| 130 | + "workspace/Makefile", |
| 131 | + "workspace/README.md", |
| 132 | + "workspace/bin/", |
| 133 | + "workspace/bin/install.sh", |
| 134 | + "workspace/docker-compose.yml", |
| 135 | + "workspace/launchql.json", |
| 136 | + "workspace/lerna.json", |
| 137 | + "workspace/package.json", |
| 138 | + "workspace/pnpm-workspace.yaml", |
| 139 | + "workspace/tsconfig.json", |
| 140 | +] |
| 141 | +`; |
| 142 | + |
| 143 | +exports[`cached template integration tests second clone from cache should snapshot package.json files from cached template 1`] = ` |
| 144 | +{ |
| 145 | + "module/package.json": { |
| 146 | + "author": "__USERFULLNAME__ <__USEREMAIL__>", |
| 147 | + "bugs": { |
| 148 | + "url": "https://github.com/__USERNAME__/__REPONAME__/issues", |
| 149 | + }, |
| 150 | + "description": "__MODULEDESC__", |
| 151 | + "devDependencies": { |
| 152 | + "pgsql-test": "^2.13.2", |
| 153 | + }, |
| 154 | + "homepage": "https://github.com/__USERNAME__/__REPONAME__", |
| 155 | + "keywords": [], |
| 156 | + "license": "SEE LICENSE IN LICENSE", |
| 157 | + "name": "__PACKAGE_IDENTIFIER__", |
| 158 | + "pnpm": { |
| 159 | + "overrides": { |
| 160 | + "graphql": "14.7.0", |
| 161 | + }, |
| 162 | + }, |
| 163 | + "publishConfig": { |
| 164 | + "access": "__ACCESS__", |
| 165 | + "directory": "dist", |
| 166 | + }, |
| 167 | + "repository": { |
| 168 | + "type": "git", |
| 169 | + "url": "https://github.com/__USERNAME__/__REPONAME__", |
| 170 | + }, |
| 171 | + "scripts": { |
| 172 | + "lint": "eslint . --fix", |
| 173 | + "test": "jest", |
| 174 | + "test:watch": "jest --watch", |
| 175 | + }, |
| 176 | + "version": "0.0.1", |
| 177 | + }, |
| 178 | + "workspace/package.json": { |
| 179 | + "author": "__USERFULLNAME__ <__USEREMAIL__>", |
| 180 | + "devDependencies": { |
| 181 | + "@types/jest": "^29.5.14", |
| 182 | + "@types/node": "^22.10.2", |
| 183 | + "@typescript-eslint/eslint-plugin": "^8.15.0", |
| 184 | + "@typescript-eslint/parser": "^8.15.0", |
| 185 | + "eslint": "^9.13.0", |
| 186 | + "eslint-config-prettier": "^10.1.1", |
| 187 | + "eslint-plugin-simple-import-sort": "^12.1.1", |
| 188 | + "eslint-plugin-unused-imports": "^4.3.0", |
| 189 | + "jest": "^29.7.0", |
| 190 | + "lerna": "^8.2.4", |
| 191 | + "pgsql-test": "^2.13.2", |
| 192 | + "prettier": "^3.3.3", |
| 193 | + "ts-jest": "^29.2.5", |
| 194 | + "ts-node": "^10.9.2", |
| 195 | + "typescript": "^5.6.3", |
| 196 | + }, |
| 197 | + "license": "SEE LICENSE IN LICENSE", |
| 198 | + "name": "__MODULENAME__", |
| 199 | + "pnpm": { |
| 200 | + "overrides": { |
| 201 | + "graphql": "14.7.0", |
| 202 | + }, |
| 203 | + }, |
| 204 | + "private": true, |
| 205 | + "publishConfig": { |
| 206 | + "access": "restricted", |
| 207 | + }, |
| 208 | + "repository": { |
| 209 | + "type": "git", |
| 210 | + "url": "https://github.com/__USERNAME__/__MODULENAME__", |
| 211 | + }, |
| 212 | + "scripts": { |
| 213 | + "lint": "pnpm -r run lint", |
| 214 | + }, |
| 215 | + "version": "0.0.1", |
| 216 | + "workspaces": [ |
| 217 | + "packages/*", |
| 218 | + ], |
| 219 | + }, |
| 220 | +} |
| 221 | +`; |
0 commit comments