Skip to content

Commit

Permalink
test(clojure): [workaround] npm run test:clojure
Browse files Browse the repository at this point in the history
This reverts 43998fd
  • Loading branch information
choznerol committed Nov 6, 2021
1 parent 717c01d commit cbdef35
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"setup:rust": "docker run -i -v $(pwd)/platform/rust:/source -w /source -e CARGO_HOME=/source/cargo rust:1.38.0-slim-stretch cargo build",
"full-build": "npm run build && npm run compile",
"test": "npm run build && npm-run-all --max-parallel 2 --parallel test:*",
"test:clojure": "echo 'skipping clojure test because it cant handle code too large' || docker run -i -v $(pwd):/app -w /app clojure:lein-2.8.1 lein exec test/platform.clojure.test.clj",
"test:clojure": "docker run -i -v $(pwd):/app -w /app clojure:lein-2.8.1 lein exec test/platform.clojure.test.clj",
"test:elixir": "docker run -i -v $(pwd):/app -w /app elixir:1.6-slim elixir test/platform.elixir.test.exs",
"test:go": "docker run -i -v $(pwd):/app -w /app golang:1.13-alpine3.10 go test ./...",
"test:node": "mocha --timeout 10000 -r should -R spec -u tdd",
Expand Down
2 changes: 1 addition & 1 deletion platform/clojure/mailchecker.clj

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion platform/clojure/mailchecker.tmpl.clj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

(require '[clojure.string :as str])

(def ^:const blacklist (set [{{& listSTR }}]))
(def ^:const blacklist (set ["tmail.com", "33mail.com", "guerrillamailblock.com"]))

(defn is-email?
"Returns true if email is an email address"
Expand Down

0 comments on commit cbdef35

Please sign in to comment.