We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbf32d1 commit 65bd1b0Copy full SHA for 65bd1b0
test/support/db.js
@@ -3,8 +3,8 @@ const config = require('../../src/config');
3
4
const client = knex({ client: 'pg', connection: config.postgres });
5
6
-const resetSchema = () => {
7
- return client('analytics_data').delete();
+const resetSchema = (table) => {
+ return client(table).delete();
8
};
9
10
module.exports = { client, config, resetSchema };
0 commit comments