diff --git a/docs/guide/writing-tests/using-test-globals.md b/docs/guide/writing-tests/using-test-globals.md index 478938c..4f23e6f 100644 --- a/docs/guide/writing-tests/using-test-globals.md +++ b/docs/guide/writing-tests/using-test-globals.md @@ -13,22 +13,19 @@ Here's an example definition using the `"globals"` property in `nightwatch.json`
{
- "src_folders": [],
+
+myGlobal = 3000;
+myGlobal2 = 'hello world';
- "globals": {
- "myGlobalVar" : "some value",
- "otherGlobal" : "some other value"
- },
+// Refer to the online docs for more details:
+// https://nightwatchjs.org/gettingstarted/configuration/
+//
- "test_settings": {
- "default": {
- "launch_url": "https://nightwatchjs.org",
- }
- }
-}
+
+