You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,7 @@ At a minimum, please include:
21
21
- Version of `jsonata` - either release number if you downloaded a zip, or the first few lines of `git log` if you are cloning the repository directly.
22
22
- Version of Node.js (`node -v`), or browser vendor and version.
23
23
24
+
24
25
## Feature requests
25
26
26
27
tba
@@ -41,6 +42,14 @@ Signed-off-by: John Doe <john.doe@hisdomain.com>
41
42
42
43
### Coding standards
43
44
44
-
Please ensure you follow the coding standards used through-out the existing code base. Coding standards are checked by ESLint. 100% test coverage must be maintained at all times. Run the following command to check coding rules and test coverage:
45
+
Please ensure you follow the coding standards used through-out the existing code base. Coding standards are checked by ESLint. 100% test coverage must be maintained at all times.
46
+
47
+
## Running tests
48
+
49
+
Tests are written using Mocha and can be run directly via NPM.
50
+
51
+
```
52
+
npm test
53
+
```
45
54
46
-
- npm t
55
+
> *Timezones* There are a number of tests that test date functionality. In order for these tests to pass they need to be run in GMT time. (Since Jan 1 in GMT is still Dec 31 in any timezone further west). The workaround is to update your system clock to be in GMT while you are running tests.
0 commit comments