@nocobase/test 1.6.27 → 1.6.29
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.
|
@@ -56,7 +56,7 @@ interface Resource {
|
|
|
56
56
|
sort: (params?: SortActionParams) => Promise<supertest.Response>;
|
|
57
57
|
[name: string]: (params?: ActionParams) => Promise<supertest.Response>;
|
|
58
58
|
}
|
|
59
|
-
interface ExtendedAgent extends SuperAgentTest {
|
|
59
|
+
export interface ExtendedAgent extends SuperAgentTest {
|
|
60
60
|
login: (user: any, roleName?: string) => Promise<ExtendedAgent>;
|
|
61
61
|
loginUsingId: (userId: number, roleName?: string) => Promise<ExtendedAgent>;
|
|
62
62
|
resource: (name: string, resourceOf?: any) => Resource;
|
|
@@ -56,7 +56,7 @@ interface Resource {
|
|
|
56
56
|
sort: (params?: SortActionParams) => Promise<supertest.Response>;
|
|
57
57
|
[name: string]: (params?: ActionParams) => Promise<supertest.Response>;
|
|
58
58
|
}
|
|
59
|
-
interface ExtendedAgent extends SuperAgentTest {
|
|
59
|
+
export interface ExtendedAgent extends SuperAgentTest {
|
|
60
60
|
login: (user: any, roleName?: string) => Promise<ExtendedAgent>;
|
|
61
61
|
loginUsingId: (userId: number, roleName?: string) => Promise<ExtendedAgent>;
|
|
62
62
|
resource: (name: string, resourceOf?: any) => Resource;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/test",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.29",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"module": "./src/index.ts",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@faker-js/faker": "8.1.0",
|
|
54
|
-
"@nocobase/server": "1.6.
|
|
54
|
+
"@nocobase/server": "1.6.29",
|
|
55
55
|
"@playwright/test": "^1.45.3",
|
|
56
56
|
"@testing-library/jest-dom": "^6.4.2",
|
|
57
57
|
"@testing-library/react": "^14.0.0",
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"vitest-dom": "^0.1.1",
|
|
76
76
|
"ws": "^8.13.0"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "9539ebb7c421a09dc795507edb1e3adcb2686038"
|
|
79
79
|
}
|