0👍
The "TypeError: globalStack.at is not a function" error triggered when running Vitest unit test can come from an outdated Node version.
According to the Node.js changelog, the .at
method has been added post-2021 from version 16.6.
Upgrading Node.js to any version after 16.6 should fix this issue.
Related answer here.
- [Vuejs]-Print out returned data from API using VueJS 3
- [Vuejs]-How can i add footer props to Vuetify 3 data-table-server component?
Source:stackexchange.com