Skip to content

Commit

Permalink
test: update gh fixture to main
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Oct 9, 2023
1 parent cb3f527 commit a8b73c2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/fixture/config.ts
Expand Up @@ -2,7 +2,7 @@ export default {
theme: "./theme",
extends: [
["c12-npm-test", { userMeta: 123 }],
["gh:unjs/c12/test/fixture/_github#feat/clone-fixes", { userMeta: 123 }],
["gh:unjs/c12/test/fixture/_github#main", { userMeta: 123 }],
],
$test: {
extends: ["./config.dev"],
Expand Down
7 changes: 4 additions & 3 deletions test/index.test.ts
Expand Up @@ -110,7 +110,7 @@ describe("c12", () => {
},
],
[
"gh:unjs/c12/test/fixture/_github#feat/clone-fixes",
"gh:unjs/c12/test/fixture/_github#main",
{
"userMeta": 123,
},
Expand Down Expand Up @@ -201,8 +201,8 @@ describe("c12", () => {
"config": {
"githubLayer": true,
},
"configFile": "<path>/fixture/node_modules/.c12/gh_unjs_c12_JtzxmAv2Dh/config.ts",
"cwd": "<path>/fixture/node_modules/.c12/gh_unjs_c12_JtzxmAv2Dh",
"configFile": "<path>/fixture/node_modules/.c12/gh_unjs_c12_vsPD2sVEDo/config.ts",
"cwd": "<path>/fixture/node_modules/.c12/gh_unjs_c12_vsPD2sVEDo",
"meta": {},
"source": "config",
"sourceOptions": {
Expand Down Expand Up @@ -243,6 +243,7 @@ describe("c12", () => {
"configFile": true,
"devConfig": true,
"envConfig": true,
"githubLayer": true,
"npmConfig": true,
"overriden": false,
"theme": "./theme",
Expand Down

0 comments on commit a8b73c2

Please sign in to comment.