Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ba33274

Browse files
committedFeb 20, 2025·
fix: fix vitest settings
1 parent 7667e21 commit ba33274

File tree

143 files changed

+193
-347
lines changed

Some content is hidden

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

143 files changed

+193
-347
lines changed
 

‎.eslintrc

+8
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
"extends": [
33
"@commercelayer/eslint-config-ts"
44
],
5+
"plugins": [
6+
],
57
"ignorePatterns": [
68
"test/**/*.ts",
79
"gen/**/*.ts",
@@ -10,6 +12,12 @@
1012
],
1113
"globals": {
1214
"vi": true
15+
},
16+
"parserOptions": {
17+
"ecmaVersion": 2022
18+
},
19+
"env": {
20+
1321
},
1422
"rules": {
1523
"prettier/prettier": "off",

‎gen/templates/spec.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Source code generated automatically by SDK codegen
44
**/
55

6-
import { expect, test, beforeAll } from 'vitest'
6+
import { expect, test, beforeAll, describe } from 'vitest'
77
import { CommerceLayerClient, ##__RESOURCE_MODEL__## } from '../../src'
88
import { isDeepStrictEqual } from 'node:util'
99
// eslint-disable-next-line @typescript-eslint/no-unused-vars

0 commit comments

Comments
 (0)