Skip to content

Commit

Permalink
Ugrade js, mocha and chai
Browse files Browse the repository at this point in the history
  • Loading branch information
FayeSGW committed Dec 16, 2024
1 parent 5515907 commit 6e963ad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![Github Action (main)](https://github.com/cyber-dojo-languages/javascript-mocha-chai-sinon/actions/workflows/main.yml/badge.svg)](https://github.com/cyber-dojo-languages/javascript-mocha-chai-sinon/actions)

## display_name="Javascript 23.3, mocha 10.8.2/chai 5.11/sinon 19.0.2/sinon-chai 4.0"
## display_name="Javascript 23.4, mocha 11.0.1/chai 5.12/sinon 19.0.2/sinon-chai 4.0"
## image_name="ghcr.io/cyber-dojo-languages/javascript_node_mocha_chai_sinon"

![cyber-dojo.org home page](https://github.com/cyber-dojo/cyber-dojo/blob/master/shared/home_page_snapshot.png)
2 changes: 1 addition & 1 deletion check_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ readonly JSON=`cat ${MY_DIR}/docker/image_name.json`
[[ ${JSON} =~ ${REGEX} ]]
readonly IMAGE_NAME="${BASH_REMATCH[1]}"

readonly EXPECTED=10.8.2 # mocha version
readonly EXPECTED=11.0.1 # mocha version
readonly ACTUAL=$(docker run --rm -i ${IMAGE_NAME} sh -c 'npx mocha --version')

if echo "${ACTUAL}" | grep -q "${EXPECTED}"; then
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.base
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/cyber-dojo-languages/javascript-node:256882c
FROM ghcr.io/cyber-dojo-languages/javascript-node:12ad876
LABEL [email protected]

RUN mkdir /etc/mocha
Expand Down

0 comments on commit 6e963ad

Please sign in to comment.