Skip to content

Commit 09350d9

Browse files
fix tests
1 parent 0301d20 commit 09350d9

2 files changed

Lines changed: 27 additions & 33 deletions

File tree

clients/web/src/lib/tauri/config/tauri-conf-schema-v2-zod.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2058,9 +2058,9 @@ export const tauriConfigSchemaV2 = z
20582058
.union([
20592059
z
20602060
.literal("v1Compatible")
2061-
.describe("Generates lagacy zipped v1 compatible updaters")
2062-
.describe("Generates lagacy zipped v1 compatible updaters")
2063-
.describe("Generates lagacy zipped v1 compatible updaters"),
2061+
.describe("Generates legacy zipped v1 compatible updaters")
2062+
.describe("Generates legacy zipped v1 compatible updaters")
2063+
.describe("Generates legacy zipped v1 compatible updaters"),
20642064
z
20652065
.boolean()
20662066
.describe("Produce updaters and their signatures or not"),

clients/web/src/lib/tauri/tests/fixtures/partially-valid-config.json

Lines changed: 24 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,40 @@
11
{
2+
"identifier": "com.tauri.dev",
23
"//broken": "we add an broken parameter on purpose here",
34
"//broken2": {
45
"//this is broken": "test"
56
},
6-
"$schema": false,
77
"build": {
88
"//broken3": "this is a test",
99
"distDir": ["index.html", "test.html"],
1010
"devPath": "http://localhost:1420",
1111
"beforeDevCommand": "",
1212
"beforeBuildCommand": ""
1313
},
14-
"package": {
15-
"productName": "Hello World",
16-
"version": "0.1.0"
14+
"productName": "Hello World",
15+
"version": "0.1.0",
16+
"bundle": {
17+
"active": "broken",
18+
"targets": "all",
19+
"icon": [
20+
".icons/32x32.png",
21+
".icons/128x128.png",
22+
".icons/128x128@2x.png",
23+
".icons/icon.icns",
24+
".icons/icon.ico"
25+
],
26+
"resources": [],
27+
"externalBin": [],
28+
"copyright": "",
29+
"category": "DeveloperTool",
30+
"shortDescription": "",
31+
"longDescription": "",
32+
"macOS": {
33+
"frameworks": [],
34+
"exceptionDomain": ""
35+
}
1736
},
18-
"tauri": {
19-
"bundle": {
20-
"active": "broken",
21-
"targets": "all",
22-
"identifier": "com.tauri.dev",
23-
"icon": [
24-
".icons/32x32.png",
25-
".icons/128x128.png",
26-
".icons/128x128@2x.png",
27-
".icons/icon.icns",
28-
".icons/icon.ico"
29-
],
30-
"resources": [],
31-
"externalBin": [],
32-
"copyright": "",
33-
"category": "DeveloperTool",
34-
"shortDescription": "",
35-
"longDescription": "",
36-
"deb": {
37-
"depends": []
38-
},
39-
"macOS": {
40-
"frameworks": [],
41-
"exceptionDomain": ""
42-
}
43-
},
37+
"app": {
4438
"windows": [
4539
{
4640
"title": "Welcome to Tauri!",

0 commit comments

Comments
 (0)