@budibase/worker 2.8.29-alpha.2 → 2.8.29-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/jest.config.ts CHANGED
@@ -1,9 +1,7 @@
1
1
  import { Config } from "@jest/types"
2
2
  import * as fs from "fs"
3
- const preset = require("ts-jest/jest-preset")
4
3
 
5
4
  const config: Config.InitialOptions = {
6
- ...preset,
7
5
  preset: "@trendyol/jest-testcontainers",
8
6
  setupFiles: ["./src/tests/jestEnv.ts"],
9
7
  setupFilesAfterEnv: ["./src/tests/jestSetup.ts"],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@budibase/worker",
3
3
  "email": "hi@budibase.com",
4
- "version": "2.8.29-alpha.2",
4
+ "version": "2.8.29-alpha.3",
5
5
  "description": "Budibase background service",
6
6
  "main": "src/index.ts",
7
7
  "repository": {
@@ -38,10 +38,10 @@
38
38
  "author": "Budibase",
39
39
  "license": "GPL-3.0",
40
40
  "dependencies": {
41
- "@budibase/backend-core": "2.8.29-alpha.2",
42
- "@budibase/pro": "2.8.29-alpha.2",
43
- "@budibase/string-templates": "2.8.29-alpha.2",
44
- "@budibase/types": "2.8.29-alpha.2",
41
+ "@budibase/backend-core": "2.8.29-alpha.3",
42
+ "@budibase/pro": "2.8.29-alpha.3",
43
+ "@budibase/string-templates": "2.8.29-alpha.3",
44
+ "@budibase/types": "2.8.29-alpha.3",
45
45
  "@koa/router": "8.0.8",
46
46
  "@sentry/node": "6.17.7",
47
47
  "@techpass/passport-openidconnect": "0.3.2",
@@ -74,10 +74,10 @@
74
74
  "server-destroy": "1.0.1"
75
75
  },
76
76
  "devDependencies": {
77
- "@swc/core": "^1.3.25",
78
- "@swc/jest": "^0.2.24",
79
- "@trendyol/jest-testcontainers": "^2.1.1",
80
- "@types/jest": "28.1.1",
77
+ "@swc/core": "1.3.71",
78
+ "@swc/jest": "0.2.27",
79
+ "@trendyol/jest-testcontainers": "2.1.1",
80
+ "@types/jest": "29.5.3",
81
81
  "@types/jsonwebtoken": "8.5.1",
82
82
  "@types/koa": "2.13.4",
83
83
  "@types/koa__router": "8.0.8",
@@ -91,14 +91,13 @@
91
91
  "@typescript-eslint/parser": "5.45.0",
92
92
  "copyfiles": "2.4.1",
93
93
  "eslint": "6.8.0",
94
- "jest": "28.1.1",
94
+ "jest": "29.6.2",
95
95
  "lodash": "4.17.21",
96
96
  "nodemon": "2.0.15",
97
97
  "pouchdb-adapter-memory": "7.2.2",
98
98
  "rimraf": "3.0.2",
99
99
  "supertest": "6.2.2",
100
100
  "timekeeper": "2.2.0",
101
- "ts-jest": "28.0.4",
102
101
  "ts-node": "10.8.1",
103
102
  "tsconfig-paths": "4.0.0",
104
103
  "typescript": "4.7.3",
@@ -118,5 +117,5 @@
118
117
  }
119
118
  }
120
119
  },
121
- "gitHead": "107f65ab79b5127a171a5b358cdf6a2184be5588"
120
+ "gitHead": "c45402b5f5d2207047d9595f624851a256c4e541"
122
121
  }
@@ -314,7 +314,7 @@ describe("scim", () => {
314
314
 
315
315
  const user = await config.getUser(email)
316
316
  expect(user).toBeDefined()
317
- expect(user.email).toEqual(email)
317
+ expect(user!.email).toEqual(email)
318
318
  })
319
319
 
320
320
  it("if multiple emails are provided, the first primary one is used as email", async () => {
@@ -345,7 +345,7 @@ describe("scim", () => {
345
345
 
346
346
  const user = await config.getUser(email)
347
347
  expect(user).toBeDefined()
348
- expect(user.email).toEqual(email)
348
+ expect(user!.email).toEqual(email)
349
349
  })
350
350
 
351
351
  it("if no email is provided and the user name is not an email, an exception is thrown", async () => {