Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: move kitchen sink tests to system-test #489

Merged
merged 2 commits into from
Oct 15, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
17 changes: 0 additions & 17 deletions system-test/googleauth.ts

This file was deleted.

4 changes: 2 additions & 2 deletions test/test.kitchen.ts → system-test/test.kitchen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const spawnp =
return new Promise((resolve, reject) => {
cp.spawn(command, args, Object.assign(options, {stdio: 'inherit'}))
.on('close',
(code, signal) => {
code => {
if (code === 0) {
resolve();
} else {
Expand All @@ -57,7 +57,7 @@ it('should be able to use the d.ts', async () => {
// stagingPath can be on another filesystem so fs.rename() will fail
// with EXDEV, hence we use `mv` module here.
await mvp(tarball, `${stagingPath}/google-auth-library.tgz`);
await ncpp('test/fixtures/kitchen', `${stagingPath}/`);
await ncpp('system-test/fixtures/kitchen', `${stagingPath}/`);
await spawnp('npm', ['install'], {cwd: `${stagingPath}/`});
}).timeout(40000);

Expand Down
3 changes: 0 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,5 @@
"src/**/*.ts",
"test/*.ts",
"system-test/*.ts"
],
"exclude": [
"test/fixtures"
]
}