File tree Expand file tree Collapse file tree 8 files changed +22
-7
lines changed Expand file tree Collapse file tree 8 files changed +22
-7
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,21 @@ export default defineConfig({
7575 define : {
7676 NEXTCLOUD_VERSION : '"32.0.0"' ,
7777 } ,
78+ optimizeDeps : {
79+ include : [
80+ 'vue' ,
81+ '@cypress/vue2' ,
82+ 'rehype-highlight' ,
83+ ] ,
84+ force : true ,
85+ } ,
86+ warmup : {
87+ clientFiles : [
88+ 'cypress/support/component.ts' ,
89+ 'cypress/**/*.cy.ts' ,
90+ 'cypress/**/*.cy.js' ,
91+ ] ,
92+ } ,
7893 css : {
7994 devSourcemap : true ,
8095 preprocessorOptions : {
Original file line number Diff line number Diff line change 33 * SPDX-License-Identifier: AGPL-3.0-or-later
44 */
55
6- import { mount } from 'cypress/vue2'
6+ import { mount } from '@ cypress/vue2'
77import { defineComponent } from 'vue'
88import NcAppSettingsDialog from '../../src/components/NcAppSettingsDialog/NcAppSettingsDialog.vue'
99import NcAppSettingsSection from '../../src/components/NcAppSettingsSection/NcAppSettingsSection.vue'
Original file line number Diff line number Diff line change 33 * SPDX-License-Identifier: AGPL-3.0-or-later
44 */
55
6- import { mount } from 'cypress/vue2'
6+ import { mount } from '@ cypress/vue2'
77import NcDialog from '../../src/components/NcDialog/NcDialog.vue'
88
99describe ( 'NcDialog' , ( ) => {
Original file line number Diff line number Diff line change 55
66import type { Component } from 'vue'
77
8- import { mount } from 'cypress/vue2'
8+ import { mount } from '@ cypress/vue2'
99import NcModal from '../../src/components/NcModal/NcModal.vue'
1010
1111describe ( 'NcModal' , ( ) => {
Original file line number Diff line number Diff line change 33 * SPDX-License-Identifier: AGPL-3.0-or-later
44 */
55
6- import { mount } from 'cypress/vue2'
6+ import { mount } from '@ cypress/vue2'
77import NcSelect from '../../src/components/NcSelect/NcSelect.vue'
88
99describe ( 'NcSelect' , ( ) => {
Original file line number Diff line number Diff line change 33 * SPDX-License-Identifier: AGPL-3.0-or-later
44 */
55
6- import { mount } from 'cypress/vue2'
6+ import { mount } from '@ cypress/vue2'
77import NcSelectUsers from '../../src/components/NcSelectUsers/NcSelectUsers.vue'
88
99it ( 'emits the search event' , async ( ) => {
Original file line number Diff line number Diff line change 66// Markdown guide: https://www.markdownguide.org/basic-syntax/
77// Reference tests: https://github.com/nextcloud-deps/CDMarkdownKit/tree/master/CDMarkdownKitTests
88
9- import { mount } from 'cypress/vue2'
9+ import { mount } from '@ cypress/vue2'
1010import NcRichText from '../../src/components/NcRichText/NcRichText.vue'
1111
1212describe ( 'NcRichText' , ( ) => {
Original file line number Diff line number Diff line change 33 * SPDX-License-Identifier: AGPL-3.0-or-later
44 */
55
6- import { mount } from 'cypress/vue2'
6+ import { mount } from '@ cypress/vue2'
77import Vue , { defineComponent } from 'vue'
88import VueRouter from 'vue-router'
99import NcAppNavigationItem from '../../src/components/NcAppNavigationItem/NcAppNavigationItem.vue'
You can’t perform that action at this time.
0 commit comments