Skip to content

Commit

Permalink
Enable 7.5 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chgeo committed Jan 16, 2024
1 parent 13a2093 commit 300cec5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@sap/cds": ">=7"
},
"devDependencies": {
"@sap/cds": "^7.4.0",
"@sap/cds": "^7.5.0",
"@stylistic/eslint-plugin": "^1.5.3",
"@types/jest": "^29.5.11",
"@types/node": "^20",
Expand Down
25 changes: 12 additions & 13 deletions test/typescript/apis/project/legacy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,16 @@ import {
Service,
} from "@sap/cds/apis/services";

// --- works again with sap/cds >= 7.5
// import {
// Definition as DefinitionRefl,
// entity as entityRefl,
// LinkedModel,
// LinkedDefinition as LinkedDefinitionRefl,
// ParsedModel,
// ReflectedModel,
// ReflectedDefinitions,
// } from "@sap/cds/apis/reflect";
import {
Definition as DefinitionRefl,
entity as entityRefl,
LinkedModel,
LinkedDefinition as LinkedDefinitionRefl,
ParsedModel,
ReflectedModel,
ReflectedDefinitions,
} from "@sap/cds/apis/reflect";

// import { Definitions } from '@sap/cds/apis/csn'
// import { User as CoreUser } from '@sap/cds/apis/core'
// import { Logger } from '@sap/cds/apis/log'
import { Definitions } from '@sap/cds/apis/csn'
import { User as CoreUser } from '@sap/cds/apis/core'
import { Logger } from '@sap/cds/apis/log'

0 comments on commit 300cec5

Please sign in to comment.