Skip to content

Commit 3dec0a5

Browse files
authored
chore: use vitest for unit testing plus workspace updates (NativeScript#10662)
1 parent baced67 commit 3dec0a5

32 files changed

+5123
-3127
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,6 @@ Thumbs.db
5757
ios-typings-prj
5858

5959
.nx/cache
60-
.nx/workspace-data
60+
.nx/workspace-data
61+
vite.config.*.timestamp*
62+
vitest.config.*.timestamp*

apps/automated/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@nativescript/visionos": "~8.8.0",
1717
"@nativescript/webpack": "file:../../dist/packages/nativescript-webpack.tgz",
1818
"circular-dependency-plugin": "^5.2.2",
19-
"typescript": "~5.4.0"
19+
"typescript": "~5.6.0"
2020
},
2121
"gitHead": "c06800e52ee1a184ea2dffd12a6702aaa43be4e3",
2222
"readme": "NativeScript Application"

apps/toolbox/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
"@nativescript/ios": "~8.8.0",
1717
"@nativescript/visionos": "~8.8.0",
1818
"@nativescript/webpack": "file:../../dist/packages/nativescript-webpack.tgz",
19-
"typescript": "~5.4.0"
19+
"typescript": "~5.6.0"
2020
}
2121
}

apps/ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"@nativescript/ios": "~8.8.0",
1616
"@nativescript/visionos": "~8.8.0",
1717
"@nativescript/webpack": "file:../../dist/packages/nativescript-webpack.tgz",
18-
"typescript": "~5.4.0"
18+
"typescript": "~5.6.0"
1919
},
2020
"gitHead": "8ab7726d1ee9991706069c1359c552e67ee0d1a4",
2121
"readme": "NativeScript Application",

nx.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@
106106
"codeCoverage": true
107107
}
108108
}
109+
},
110+
"@nx/vite:test": {
111+
"cache": true,
112+
"inputs": ["default", "^production"]
109113
}
110114
},
111115
"useDaemonProcess": false,

0 commit comments

Comments
 (0)