aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cypress/support/e2e.ts
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-06-01 23:21:30 +0200
committerArmand Philippot <git@armandphilippot.com>2022-06-02 19:10:28 +0200
commitf7cc48495b085fe8f6cfa37e80e968d5b47639df (patch)
tree1e43ee0095979a0009b521ef7cc2a0f069b132b3 /tests/cypress/support/e2e.ts
parenta8af53c118478e6ed68975c32cc1202b7c7b798e (diff)
test: install and configure cypress
I also configure Jest to avoid conflicts between Cypress and Jest.
Diffstat (limited to 'tests/cypress/support/e2e.ts')
-rw-r--r--tests/cypress/support/e2e.ts20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/cypress/support/e2e.ts b/tests/cypress/support/e2e.ts
new file mode 100644
index 0000000..37a498f
--- /dev/null
+++ b/tests/cypress/support/e2e.ts
@@ -0,0 +1,20 @@
+// ***********************************************************
+// This example support/index.js is processed and
+// loaded automatically before your test files.
+//
+// This is a great place to put global configuration and
+// behavior that modifies Cypress.
+//
+// You can change the location of this file or turn off
+// automatically serving support files with the
+// 'supportFile' configuration option.
+//
+// You can read more here:
+// https://on.cypress.io/configuration
+// ***********************************************************
+
+// Import commands.js using ES2015 syntax:
+import './commands';
+
+// Alternatively you can use CommonJS syntax:
+// require('./commands')