Browse Source

fix: missing import statement and test config correction

pull/6914/head
Pranav C 1 year ago
parent
commit
4e134468bf
  1. 1
      packages/nocodb/src/modules/jobs/jobs/source-create/source-create.controller.ts
  2. 4
      packages/nocodb/tests/unit/tsconfig.ee.json
  3. 10
      packages/nocodb/tests/unit/tsconfig.json

1
packages/nocodb/src/modules/jobs/jobs/source-create/source-create.controller.ts

@ -8,6 +8,7 @@ import {
Req, Req,
UseGuards, UseGuards,
} from '@nestjs/common'; } from '@nestjs/common';
import { Request } from 'express';
import { BaseReqType } from 'nocodb-sdk'; import { BaseReqType } from 'nocodb-sdk';
import { GlobalGuard } from '~/guards/global/global.guard'; import { GlobalGuard } from '~/guards/global/global.guard';
import { Acl } from '~/middlewares/extract-ids/extract-ids.middleware'; import { Acl } from '~/middlewares/extract-ids/extract-ids.middleware';

4
packages/nocodb/tests/unit/tsconfig.ee.json

@ -53,8 +53,8 @@
"mocha", "node" "mocha", "node"
], ],
"typeRoots": [ "typeRoots": [
"node_modules/@types", "../../src/types",
"src/types" "../../node_modules/@types"
] ]
}, },
"parserOptions": { "parserOptions": {

10
packages/nocodb/tests/unit/tsconfig.json

@ -52,16 +52,12 @@
"types": [ "types": [
"mocha", "node" "mocha", "node"
], ],
"typeRoots": [ "typeRoots": [
"node_modules/@types", "../../src/types",
"src/types" "../../node_modules/@types"
] ]
}, },
"parserOptions": {
"sourceType": "module",
"tsconfigRootDir": "./",
"project": "./tsconfig.json"
},
"include": [ "include": [
"./tests/**/**/**.ts", "./tests/**/**/**.ts",
"./tests/**/**.ts" "./tests/**/**.ts"

Loading…
Cancel
Save