test: upgrade all deps #808
Annotations
9 errors and 1 warning
test/index.test.ts > use rollup for treeshaking:
test/index.test.ts#L571
AssertionError: expected 'import { inject } from \'vue\';\n\n//…' to contain 'function useRoute() {\n return injec…'
- Expected
+ Received
- function useRoute() {
+ import { inject } from 'vue';
+
+ // ../../node_modules/.pnpm/[email protected][email protected]/node_modules/vue-router/dist/vue-router.mjs
+ var NavigationType;
+ (function(NavigationType2) {
+ NavigationType2["pop"] = "pop";
+ NavigationType2["push"] = "push";
+ })(NavigationType || (NavigationType = {}));
+ var NavigationDirection;
+ (function(NavigationDirection2) {
+ NavigationDirection2["back"] = "back";
+ NavigationDirection2["forward"] = "forward";
+ NavigationDirection2["unknown"] = "";
+ })(NavigationDirection || (NavigationDirection = {}));
+ Symbol(process.env.NODE_ENV !== "production" ? "navigation failure" : "");
+ var NavigationFailureType;
+ (function(NavigationFailureType2) {
+ NavigationFailureType2[NavigationFailureType2["aborted"] = 4] = "aborted";
+ NavigationFailureType2[NavigationFailureType2["cancelled"] = 8] = "cancelled";
+ NavigationFailureType2[NavigationFailureType2["duplicated"] = 16] = "duplicated";
+ })(NavigationFailureType || (NavigationFailureType = {}));
+ Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : "");
+ Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : "");
+ Symbol(process.env.NODE_ENV !== "production" ? "router" : "");
+ var routeLocationKey = Symbol(process.env.NODE_ENV !== "production" ? "route location" : "");
+ Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
+ function useRoute(_name) {
return inject(routeLocationKey);
}
+ /*! Bundled license information:
+
+ vue-router/dist/vue-router.mjs:
+ (*!
+ * vue-router v4.4.0
+ * (c) 2024 Eduardo San Martin Morote
+ * @license MIT
+ *)
+ */
+
+ export { useRoute };
+
❯ test/index.test.ts:571:50
|
test (ubuntu-latest, 20.x)
Process completed with exit code 1.
|
test (ubuntu-latest, 18.x)
The job was canceled because "ubuntu-latest_20_x" failed.
|
test/index.test.ts > use rollup for treeshaking:
test/index.test.ts#L571
AssertionError: expected 'import { inject } from \'vue\';\n\n//…' to contain 'function useRoute() {\n return injec…'
- Expected
+ Received
- function useRoute() {
+ import { inject } from 'vue';
+
+ // ../../node_modules/.pnpm/[email protected][email protected]/node_modules/vue-router/dist/vue-router.mjs
+ var NavigationType;
+ (function(NavigationType2) {
+ NavigationType2["pop"] = "pop";
+ NavigationType2["push"] = "push";
+ })(NavigationType || (NavigationType = {}));
+ var NavigationDirection;
+ (function(NavigationDirection2) {
+ NavigationDirection2["back"] = "back";
+ NavigationDirection2["forward"] = "forward";
+ NavigationDirection2["unknown"] = "";
+ })(NavigationDirection || (NavigationDirection = {}));
+ Symbol(process.env.NODE_ENV !== "production" ? "navigation failure" : "");
+ var NavigationFailureType;
+ (function(NavigationFailureType2) {
+ NavigationFailureType2[NavigationFailureType2["aborted"] = 4] = "aborted";
+ NavigationFailureType2[NavigationFailureType2["cancelled"] = 8] = "cancelled";
+ NavigationFailureType2[NavigationFailureType2["duplicated"] = 16] = "duplicated";
+ })(NavigationFailureType || (NavigationFailureType = {}));
+ Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : "");
+ Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : "");
+ Symbol(process.env.NODE_ENV !== "production" ? "router" : "");
+ var routeLocationKey = Symbol(process.env.NODE_ENV !== "production" ? "route location" : "");
+ Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
+ function useRoute(_name) {
return inject(routeLocationKey);
}
+ /*! Bundled license information:
+
+ vue-router/dist/vue-router.mjs:
+ (*!
+ * vue-router v4.4.0
+ * (c) 2024 Eduardo San Martin Morote
+ * @license MIT
+ *)
+ */
+
+ export { useRoute };
+
❯ test/index.test.ts:571:50
|
test (ubuntu-latest, 18.x)
Process completed with exit code 1.
|
test (windows-latest, 18.x)
The job was canceled because "ubuntu-latest_20_x" failed.
|
test (windows-latest, 18.x)
The operation was canceled.
|
test (windows-latest, 20.x)
The job was canceled because "ubuntu-latest_20_x" failed.
|
test (windows-latest, 20.x)
The operation was canceled.
|
test (ubuntu-latest, 20.x)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|