Skip to content

Commit

Permalink
group integration stuff together
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphcallaway committed Oct 26, 2019
1 parent 41e18af commit 67a24ff
Show file tree
Hide file tree
Showing 90 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@
"prepack": "rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme",
"test": "nyc --extension .ts mocha --timeout 99999 --forbid-only \"test/**/*.test.ts\"",
"version": "oclif-dev readme && git add README.md",
"tgp": "mv test/project/.git test/project/.notgit",
"tgu": "mv test/project/.notgit test/project/.git",
"gen": "ts-node test/util/genIntegrationTestOutput.ts"
"tgp": "mv test/integration/project/.git test/integration/project/.notgit",
"tgu": "mv test/integration/project/.notgit test/integration/project/.git",
"gen": "ts-node test/integration/genIntegrationTestOutput.ts"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ async function myExec(cmd:string):Promise<{err: ExecException | null, stdout: st
}

(async () => {
process.chdir("test/project");
process.chdir("test/integration/project");
process.env.GIT_DIR = ".git";
process.env.GIT_WORK_TREE = ".";
const res = await myExec("git branch --list");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async function runTest(testName: string) {
assert.fail(e);
}
}
const testProjPath = "test/project";
const testProjPath = "test/integration/project";
describe('git:package', () => {
before(() => {
prep(testProjPath);
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 67a24ff

Please sign in to comment.