Skip to content

Commit f335dc9

Browse files
AllesandriaAllesandria
authored andcommitted
added testing environment
1 parent 4404d25 commit f335dc9

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

knexfile.js

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@ module.exports = {
1717
//seeds: {
1818
//directory: "./data/seeds",
1919
//},
20-
}
20+
},
21+
testing: {
22+
client: 'sqlite3',
23+
connection: {
24+
filename: './data/projectresources.db3'
25+
},
26+
useNullAsDefault: true,
27+
migrations: {
28+
directory: './data/migrations'
29+
}
2130

22-
};
31+
}};

0 commit comments

Comments
 (0)