Skip to content

Commit d85a9d3

Browse files
fix(Statements): Pagination missing and repeating statements (LLC-32) (#619)
1 parent 8b8339f commit d85a9d3

File tree

98 files changed

+452
-1886
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+452
-1886
lines changed

package.json

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,12 @@
1919
"start:dev": "nodemon",
2020
"build": "tsc",
2121
"test": "SERVICE_AWAIT_UPDATES=true AUTH_REPO=test mocha $(find dist -name '*.test.js') --timeout 6000 --exit",
22-
"test-s3": "MODELS_REPO=memory STORAGE_REPO=s3 npm run test",
23-
"test-google": "MODELS_REPO=memory STORAGE_REPO=google npm run test",
24-
"test-azure": "MODELS_REPO=memory STORAGE_REPO=azure npm run test",
22+
"test-s3": "MODELS_REPO=mongo STORAGE_REPO=s3 npm run test",
23+
"test-google": "MODELS_REPO=mongo STORAGE_REPO=google npm run test",
24+
"test-azure": "MODELS_REPO=mongo STORAGE_REPO=azure npm run test",
2525
"test-mongo": "MODELS_REPO=mongo STORAGE_REPO=local npm run test",
26-
"test-memory": "MODELS_REPO=memory STORAGE_REPO=local npm run test",
27-
"test-sentinel": "MODELS_REPO=memory STORAGE_REPO=local EVENTS_REPO=sentinel npm run test",
28-
"test-ci": "npm run test-memory && npm run test-mongo",
26+
"test-sentinel": "MODELS_REPO=mongo STORAGE_REPO=local EVENTS_REPO=sentinel npm run test",
27+
"test-ci": "npm run test-mongo",
2928
"test-all": "npm run test-ci && npm run test-s3 && npm run test-google && npm run test-sentinel && npm run test-azure",
3029
"cover-ci": "nyc --lines 100 --check-coverage --exclude '(dist/**/*google*|dist/**/*azure*|dist/**/*s3*|dist/**/*fetch*|dist/**/*fake*|dist/config.js|dist/**/factory.js|dist/**/facade.js|dist/**/connectToSentinel.js)' npm run test-ci",
3130
"cover-all": "nyc --lines 100 --check-coverage --exclude '(dist/**/*fetch*|dist/**/*fake*|dist/config.js|dist/**/factory.js|dist/**/facade.js)' npm run test-all",
@@ -96,6 +95,7 @@
9695
"@types/uuid": "3.4.8",
9796
"@types/winston": "2.4.4",
9897
"colors": "1.4.0",
98+
"husky": "^4.2.3",
9999
"jscpd": "0.6.25",
100100
"mocha": "6.2.2",
101101
"nodemon": "2.0.2",
@@ -113,5 +113,10 @@
113113
},
114114
"publishConfig": {
115115
"access": "public"
116+
},
117+
"husky": {
118+
"hooks": {
119+
"pre-push": "yarn lint-ci"
120+
}
116121
}
117122
}

src/apps/activities/app.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@ export default (appConfig: AppConfig): Router => {
1818
},
1919
models: {
2020
factoryName: appConfig.repo.factory.modelsRepoName,
21-
memory: {
22-
state: {
23-
activityProfiles: [],
24-
},
25-
},
2621
mongo: {
2722
db: appConfig.repo.mongo.db,
2823
},

src/apps/activities/memoryModelsRepo/Config.ts

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/apps/activities/memoryModelsRepo/deleteProfile.ts

Lines changed: 0 additions & 51 deletions
This file was deleted.

src/apps/activities/memoryModelsRepo/getProfile.ts

Lines changed: 0 additions & 27 deletions
This file was deleted.

src/apps/activities/memoryModelsRepo/getProfiles.ts

Lines changed: 0 additions & 28 deletions
This file was deleted.

src/apps/activities/memoryModelsRepo/hasProfile.ts

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/apps/activities/memoryModelsRepo/index.ts

Lines changed: 0 additions & 21 deletions
This file was deleted.

src/apps/activities/memoryModelsRepo/overwriteProfile.ts

Lines changed: 0 additions & 48 deletions
This file was deleted.

src/apps/activities/memoryModelsRepo/patchProfile.ts

Lines changed: 0 additions & 58 deletions
This file was deleted.

0 commit comments

Comments
 (0)