Fix unit tests - 1.124
This commit is contained in:
parent
3af3e1faf2
commit
f4db61aeec
|
@ -41,8 +41,8 @@ android {
|
|||
missingDimensionStrategy "RNNotifications.reactNativeVersion", "reactNative60"
|
||||
minSdkVersion rootProject.ext.minSdkVersion
|
||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||
versionCode 36149
|
||||
versionName "1.123"
|
||||
versionCode 36150
|
||||
versionName "1.124"
|
||||
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
|
||||
|
||||
if (isNewArchitectureEnabled()) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "massive",
|
||||
"version": "1.123",
|
||||
"version": "1.124",
|
||||
"private": true,
|
||||
"license": "GPL-3.0-only",
|
||||
"scripts": {
|
||||
|
|
|
@ -12,6 +12,7 @@ jest.mock('../db.ts', () => ({
|
|||
createQueryBuilder: () => ({
|
||||
select: jest.fn().mockReturnThis(),
|
||||
distinct: jest.fn().mockReturnThis(),
|
||||
orderBy: jest.fn().mockReturnThis(),
|
||||
getRawMany: jest.fn(() =>
|
||||
Promise.resolve([
|
||||
{name: 'Bench press'},
|
||||
|
|
|
@ -12,6 +12,7 @@ jest.mock('../db.ts', () => ({
|
|||
addSelect: jest.fn().mockReturnThis(),
|
||||
where: jest.fn().mockReturnThis(),
|
||||
andWhere: jest.fn().mockReturnThis(),
|
||||
orderBy: jest.fn().mockReturnThis(),
|
||||
groupBy: jest.fn().mockReturnThis(),
|
||||
distinct: jest.fn().mockReturnThis(),
|
||||
getRawMany: jest.fn(() =>
|
||||
|
|
Loading…
Reference in New Issue
Block a user