Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commitedbb60a

Browse files
committed
test: add e2e task && rm cypress example
1 parentd4a97f9 commitedbb60a

24 files changed

+13
-1687
lines changed

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ coverage/
1010
yarn-error.log
1111
.env*
1212
schema.graphql
13+
cypress//integration/examples

‎Makefile‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ test.help:
9090
@echo"\n"
9191
test:
9292
npm runtest
93+
test.e2e:
94+
npm run test:e2e
9395
test.dev:
9496
npm run test:dev
9597
test.watch:

‎Makefile.include.mk‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ define test.help
108108
@echo " ..............................................................."
109109
@echo " test.watch : run all the test in watch mode"
110110
@echo " ..............................................................."
111+
@echo " test.e2e : run e2e test using cypress"
112+
@echo " | docs: https://docs.cypress.io/"
113+
@echo " ..............................................................."
111114
@echo " test.report.text : run test then show test coverage in terminal"
112115
@echo " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
113116
endef

‎config/endpoint.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ const getGraphQLEndpoint = () => {
1313
/* return 'http://devapi.coderplanets.com' */
1414

1515
case'local':
16-
/*return 'http://localhost:4001/graphiql' */
17-
return'http://localhost:7000/graphiql'// work
16+
return'http://localhost:4001/graphiql'
17+
/*return 'http://localhost:7000/graphiql' // work */
1818

1919
default:
2020
return'http://localhost:4001/graphiql'

‎cypress/integration/examples/actions.spec.js‎

Lines changed: 0 additions & 298 deletions
This file was deleted.

‎cypress/integration/examples/aliasing.spec.js‎

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp