From 3f858c0d77e7e9ca403234c856486d2c8af3319c Mon Sep 17 00:00:00 2001 From: tobiaobr Date: Wed, 8 Oct 2025 12:47:48 +0200 Subject: [PATCH] ran prettier --- .github/pull_request_template.md | 4 +++- cypress.config.js | 8 ++++---- cypress/e2e/demo.cy.js | 8 ++++---- cypress/support/commands.js | 2 +- cypress/support/e2e.js | 2 +- src/coordinateShowing/coordinateShowing.css | 1 - src/coordinateShowing/coordinateShowing.js | 4 ++-- 7 files changed, 15 insertions(+), 14 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 03accaf..e44bbf8 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -3,9 +3,11 @@ Closes # ### Description + ### Testing steps + -### Screenshots (optional) \ No newline at end of file +### Screenshots (optional) diff --git a/cypress.config.js b/cypress.config.js index 17161e3..dc4f8e6 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -1,9 +1,9 @@ -import { defineConfig } from "cypress"; +import { defineConfig } from 'cypress' export default defineConfig({ e2e: { setupNodeEvents(on, config) { // implement node event listeners here - }, - }, -}); + } + } +}) diff --git a/cypress/e2e/demo.cy.js b/cypress/e2e/demo.cy.js index c23b064..b675fe4 100644 --- a/cypress/e2e/demo.cy.js +++ b/cypress/e2e/demo.cy.js @@ -4,14 +4,14 @@ describe('demo test', () => { cy.visit('http://localhost:5173/#') cy.contains('Molloy Explorer') cy.contains('Repeat').click() - }) }) describe('demo test 2', () => { it('passes', () => { cy.visit('http://localhost:5173/#') - cy.get('#elevation_gradient_scheme_selection span:nth-child(1) rect').click(); - + cy.get( + '#elevation_gradient_scheme_selection span:nth-child(1) rect' + ).click() }) -}) \ No newline at end of file +}) diff --git a/cypress/support/commands.js b/cypress/support/commands.js index 66ea16e..119ab03 100644 --- a/cypress/support/commands.js +++ b/cypress/support/commands.js @@ -22,4 +22,4 @@ // // // -- This will overwrite an existing command -- -// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... }) \ No newline at end of file +// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... }) diff --git a/cypress/support/e2e.js b/cypress/support/e2e.js index 3eaffff..92e5881 100644 --- a/cypress/support/e2e.js +++ b/cypress/support/e2e.js @@ -14,4 +14,4 @@ // *********************************************************** // Import commands.js using ES2015 syntax: -import './commands' \ No newline at end of file +import './commands' diff --git a/src/coordinateShowing/coordinateShowing.css b/src/coordinateShowing/coordinateShowing.css index dd46e72..0a8ac75 100644 --- a/src/coordinateShowing/coordinateShowing.css +++ b/src/coordinateShowing/coordinateShowing.css @@ -24,4 +24,3 @@ margin-bottom: 10px; border-radius: 5px; } - diff --git a/src/coordinateShowing/coordinateShowing.js b/src/coordinateShowing/coordinateShowing.js index bb7f360..8045cd0 100644 --- a/src/coordinateShowing/coordinateShowing.js +++ b/src/coordinateShowing/coordinateShowing.js @@ -1,5 +1,5 @@ -import { ecef } from "../config.js"; -import { wgs84 } from "../config.js"; +import { ecef } from '../config.js' +import { wgs84 } from '../config.js' const posCanvas = document.getElementById('posCanvas') // lat/lon const elevationCanvas = document.getElementById('elevationCanvas')