Skip to content

Commit eec95d9

Browse files
committed
Updated Specmatic graphql module to latest and renamed test_data to graphql_examples
1 parent ae21549 commit eec95d9

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed
File renamed without changes.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"test": "react-scripts test --coverage --detectOpenHandles --forceExit --transformIgnorePatterns \"node_modules/(?!axios)/\"",
2727
"eject": "react-scripts eject",
2828
"graphiql": "node graphiql-server.js",
29-
"specmatic:stub": "java -jar node_modules/specmatic-beta/graphql/specmatic-graphql-all.jar stub --data test_data --port 8080",
29+
"specmatic:stub": "java -jar node_modules/specmatic-beta/graphql/specmatic-graphql-all.jar stub --port 8080",
3030
"test-ci": "cross-env SPECMATIC_LOG_LEVEL=debug DEBUG=specmatic-order-graphql-ui-react:* npm run test"
3131
},
3232
"eslintConfig": {
@@ -51,7 +51,7 @@
5151
"autoprefixer": "^10.4.19",
5252
"postcss": "^8.4.38",
5353
"specmatic": "1.3.37",
54-
"specmatic-beta": "github:znsio/specmatic-node-beta#2.0.6",
54+
"specmatic-beta": "github:znsio/specmatic-node-beta#2.0.7",
5555
"tailwindcss": "^3.4.3"
5656
}
5757
}

src/__test__/App.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ describe("App component tests", () => {
3636
});
3737

3838
// Fill out the form
39-
fireEvent.change(screen.getByTestId("name"), { target: { value: "Test Product" } });
39+
fireEvent.change(screen.getByTestId("name"), { target: { value: "The Almanac" } });
4040
fireEvent.change(screen.getByTestId("inventory"), { target: { value: "10" } });
41-
fireEvent.change(screen.getByTestId("type"), { target: { value: "gadget" } });
41+
fireEvent.change(screen.getByTestId("type"), { target: { value: "book" } });
4242

4343
// Submit the form
4444
fireEvent.click(screen.getByTestId("submit"));

0 commit comments

Comments
 (0)