Skip to content

Commit 6c75d05

Browse files
committed
upgrade
1 parent 6f74bda commit 6c75d05

File tree

6 files changed

+1993
-5714
lines changed

6 files changed

+1993
-5714
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,4 @@ dist
122122
.vscode
123123

124124
# Databases
125-
test.db3
125+
*.db3

data/migrations/migrations-go-inside-this-folder.txt renamed to data/migrations/migrations-go-inside-migrations-folder.txt

File renamed without changes.

jest.config.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* For a detailed explanation regarding each configuration property, visit:
3-
* https://jestjs.io/docs/en/configuration.html
3+
* https://jestjs.io/docs/configuration
44
*/
55

66
module.exports = {
@@ -11,7 +11,7 @@ module.exports = {
1111
// bail: 0,
1212

1313
// The directory where Jest should store its cached dependency information
14-
// cacheDirectory: "/private/var/folders/78/wsw4bc497l1b0dlb3f77xh380000gn/T/jest_dx",
14+
// cacheDirectory: "/private/var/folders/mq/wc13nlwj4gdgcyshdy5j1hgr0000gn/T/jest_dx",
1515

1616
// Automatically clear mock calls and instances between every test
1717
// clearMocks: false,
@@ -73,10 +73,10 @@ module.exports = {
7373
// An array of file extensions your modules use
7474
// moduleFileExtensions: [
7575
// "js",
76-
// "json",
7776
// "jsx",
7877
// "ts",
7978
// "tsx",
79+
// "json",
8080
// "node"
8181
// ],
8282

@@ -137,7 +137,7 @@ module.exports = {
137137
// snapshotSerializers: [],
138138

139139
// The test environment that will be used for testing
140-
testEnvironment: "node",
140+
// testEnvironment: "jest-environment-node",
141141

142142
// Options that will be passed to the testEnvironment
143143
// testEnvironmentOptions: {},
@@ -163,7 +163,7 @@ module.exports = {
163163
// testResultsProcessor: undefined,
164164

165165
// This option allows use of a custom test runner
166-
// testRunner: "jasmine2",
166+
// testRunner: "jest-circus/runner",
167167

168168
// This option sets the URL for the jsdom environment. It is reflected in properties such as location.href
169169
// testURL: "http://localhost",

knexfile.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,11 @@ const sharedConfig = {
99
module.exports = {
1010
development: {
1111
...sharedConfig,
12-
connection: { filename: './data/lambda.db3' },
12+
connection: { filename: './data/database.db3' },
1313
seeds: { directory: './data/seeds' },
1414
},
1515
testing: {
1616
...sharedConfig,
1717
connection: { filename: './data/test.db3' },
1818
},
1919
};
20-

0 commit comments

Comments
 (0)