Merge pull request #1824 from freqtrade/test/moduletype

Add type:module to package.json
This commit is contained in:
Matthias 2024-04-08 17:29:00 +02:00 committed by GitHub
commit 4d1dcd9f35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 1 additions and 16 deletions

View File

@ -5,9 +5,6 @@ export default defineConfig({
e2e: {
// We've imported your old cypress plugins here.
// You may want to clean this up later by importing these.
setupNodeEvents(on, config) {
return require('./cypress/plugins/index.js')(on, config);
},
specPattern: 'cypress/e2e/**/*.cy.ts',
baseUrl: 'http://localhost:3000',
},

View File

@ -1,13 +0,0 @@
const path = require('path');
const { startDevServer } = require('@cypress/vite-dev-server');
module.exports = (on, config) => {
on('dev-server:start', (options) => {
return startDevServer({
options,
viteConfig: {
configFile: path.resolve(__dirname, '..', '..', 'vite.config.js'),
},
});
});
};

View File

@ -2,6 +2,7 @@
"name": "frequi",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",