Skip to content

Commit

Permalink
make sure types are published
Browse files Browse the repository at this point in the history
  • Loading branch information
mcasimir committed Aug 25, 2021
1 parent 524c2a0 commit 24186d0
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -191,4 +191,5 @@ lib
**/*.d.ts
**/*.js
**/*.js.map
!**/initdb/*.js
!**/initdb/*.js
*.tgz
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
**/*.ts
!**/*.d.ts
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mongodb-js/devtools-docker-test-envs",
"version": "1.0.0",
"version": "1.0.1",
"description": "DevTools Team docker images and environments for testing",
"main": "src/index.js",
"types": "src/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions src/test-environments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ export default class TestEnvironments {
}

async setup() {
Promise.all(Object.values(this._envs).map((env) => env.start()));
await Promise.all(Object.values(this._envs).map((env) => env.start()));
}

async teardown() {
Promise.all(Object.values(this._envs).map((env) => env.stop()));
await Promise.all(Object.values(this._envs).map((env) => env.stop()));
}
}

0 comments on commit 24186d0

Please sign in to comment.