Skip to content

Commit

Permalink
replace nodeunit with mocha (#22)
Browse files Browse the repository at this point in the history
* replace nodeunit with mocha
  • Loading branch information
msimerson committed Mar 9, 2020
1 parent 66e8d01 commit a37a07f
Show file tree
Hide file tree
Showing 10 changed files with 602 additions and 643 deletions.
25 changes: 0 additions & 25 deletions .eslintrc.json

This file was deleted.

24 changes: 24 additions & 0 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
env:
node: true
es6: true
mocha: true

plugins:
- haraka

extends:
- eslint:recommended
- plugin:haraka/recommended

root: true

rules:
indent: [ error, 2, { SwitchCase: 1 } ]

globals:
OK: true
CONT: true
DENY: true
DENYSOFT: true
DENYDISCONNECT: true
DENYSOFTDISCONNECT: true
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@ jspm_packages

# Optional REPL history
.node_repl_history

package-lock.json
11 changes: 11 additions & 0 deletions Changes.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,34 @@

## 1.1.N - 2020-MM-DD

- replace nodeunit with mocha


## 1.1.6 - 2020-02-29

- Allow connecting to rspamd via unix sockets


## 1.1.5 - 2019-04-01

- store symbols in results (for other plugins to inspect)


## 1.1.4 - 2019-01-28

- fixed "TypeError: value.replace is not a function"


## 1.1.3 - 2018-12-19

- add check.relay option


## 1.1.2 - 2018-11-03

- add check.local_ip config option


## 1.1.1 - 2018-05-10

- pass TLS-Cipher and TLS-Version headers to rspamd (fixes #4)
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
environment:
nodejs_version: "8"
nodejs_version: "10"

install:
- ps: Install-Product node $env:nodejs_version
Expand Down
Loading

0 comments on commit a37a07f

Please sign in to comment.