Skip to content

Commit

Permalink
Webpack tests (#24)
Browse files Browse the repository at this point in the history
* add mariadb test

* more integration tests
  • Loading branch information
rauchg authored and timneutkens committed Nov 20, 2018
1 parent f926990 commit 2e82a24
Show file tree
Hide file tree
Showing 7 changed files with 1,920 additions and 57 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"prepublish": "npm test"
},
"devDependencies": {
"@google-cloud/datastore": "^2.0.0",
"@sentry/node": "^4.3.0",
"apollo-server-express": "^2.2.2",
"auth0": "^2.14.0",
Expand All @@ -53,6 +54,7 @@
"jimp": "^0.5.6",
"koa": "^2.6.2",
"mailgun": "^0.5.0",
"mariadb": "^2.0.1-beta",
"memcached": "^2.2.2",
"mongoose": "^5.3.12",
"mysql": "^2.16.0",
Expand Down
2 changes: 2 additions & 0 deletions test/integration/firebase.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
const firebase = require('firebase/app');
module.exports = () => {};
4 changes: 4 additions & 0 deletions test/integration/google-datastore.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
const datastore = require('@google-cloud/datastore');
module.exports = () => {

}
3 changes: 3 additions & 0 deletions test/integration/json-without-ext-sample.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"a": "b"
}
2 changes: 2 additions & 0 deletions test/integration/json-without-ext.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
const { a } = require('./json-without-ext-sample')
module.exports = () => {}
3 changes: 3 additions & 0 deletions test/integration/mariadb.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
require('mariadb')
module.exports = () => {
}
Loading

0 comments on commit 2e82a24

Please sign in to comment.