From 6cb69dd425989d454c14ad0084429fae718489d4 Mon Sep 17 00:00:00 2001
From: Paolo Caleffi
Date: Tue, 19 Jul 2022 11:57:41 +0200
Subject: [PATCH] fix(cypress): scaffold JS test files for JS projects
---
.../___tests__/{QuasarButton.spec.ts => QuasarButton.spec.js} | 0
...sarCheckComponents.spec.ts => QuasarCheckComponents.spec.js} | 0
.../___tests__/{QuasarDark.spec.ts => QuasarDark.spec.js} | 0
.../___tests__/{QuasarDialog.spec.ts => QuasarDialog.spec.js} | 0
.../___tests__/{QuasarDrawer.spec.ts => QuasarDrawer.spec.js} | 0
.../{QuasarPageSticky.spec.ts => QuasarPageSticky.spec.js} | 0
.../___tests__/{QuasarSelect.spec.ts => QuasarSelect.spec.js} | 0
.../___tests__/{QuasarTooltip.spec.ts => QuasarTooltip.spec.js} | 0
.../{VModelComponent.spec.ts => VModelComponent.spec.js} | 2 +-
9 files changed, 1 insertion(+), 1 deletion(-)
rename packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/{QuasarButton.spec.ts => QuasarButton.spec.js} (100%)
rename packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/{QuasarCheckComponents.spec.ts => QuasarCheckComponents.spec.js} (100%)
rename packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/{QuasarDark.spec.ts => QuasarDark.spec.js} (100%)
rename packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/{QuasarDialog.spec.ts => QuasarDialog.spec.js} (100%)
rename packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/{QuasarDrawer.spec.ts => QuasarDrawer.spec.js} (100%)
rename packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/{QuasarPageSticky.spec.ts => QuasarPageSticky.spec.js} (100%)
rename packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/{QuasarSelect.spec.ts => QuasarSelect.spec.js} (100%)
rename packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/{QuasarTooltip.spec.ts => QuasarTooltip.spec.js} (100%)
rename packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/{VModelComponent.spec.ts => VModelComponent.spec.js} (97%)
diff --git a/packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/QuasarButton.spec.ts b/packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/QuasarButton.spec.js
similarity index 100%
rename from packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/QuasarButton.spec.ts
rename to packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/QuasarButton.spec.js
diff --git a/packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/QuasarCheckComponents.spec.ts b/packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/QuasarCheckComponents.spec.js
similarity index 100%
rename from packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/QuasarCheckComponents.spec.ts
rename to packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/QuasarCheckComponents.spec.js
diff --git a/packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/QuasarDark.spec.ts b/packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/QuasarDark.spec.js
similarity index 100%
rename from packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/QuasarDark.spec.ts
rename to packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/QuasarDark.spec.js
diff --git a/packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/QuasarDialog.spec.ts b/packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/QuasarDialog.spec.js
similarity index 100%
rename from packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/QuasarDialog.spec.ts
rename to packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/QuasarDialog.spec.js
diff --git a/packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/QuasarDrawer.spec.ts b/packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/QuasarDrawer.spec.js
similarity index 100%
rename from packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/QuasarDrawer.spec.ts
rename to packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/QuasarDrawer.spec.js
diff --git a/packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/QuasarPageSticky.spec.ts b/packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/QuasarPageSticky.spec.js
similarity index 100%
rename from packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/QuasarPageSticky.spec.ts
rename to packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/QuasarPageSticky.spec.js
diff --git a/packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/QuasarSelect.spec.ts b/packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/QuasarSelect.spec.js
similarity index 100%
rename from packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/QuasarSelect.spec.ts
rename to packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/QuasarSelect.spec.js
diff --git a/packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/QuasarTooltip.spec.ts b/packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/QuasarTooltip.spec.js
similarity index 100%
rename from packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/QuasarTooltip.spec.ts
rename to packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/QuasarTooltip.spec.js
diff --git a/packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/VModelComponent.spec.ts b/packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/VModelComponent.spec.js
similarity index 97%
rename from packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/VModelComponent.spec.ts
rename to packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/VModelComponent.spec.js
index fad93ca0..480293d5 100644
--- a/packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/VModelComponent.spec.ts
+++ b/packages/e2e-cypress/src/templates/no-typescript/src/components/___tests__/VModelComponent.spec.js
@@ -42,7 +42,7 @@ describe('VModelComponent', () => {
mount(VModelComponent, {
props: {
modelValue: text,
- 'onUpdate:modelValue': (emittedValue: string) =>
+ 'onUpdate:modelValue': (emittedValue) =>
Cypress.vueWrapper.setProps({ modelValue: emittedValue }),
},
});