Skip to content

Commit ba206f6

Browse files
authored
Merge branch 'main' into Lorenagubaira-patch-1
2 parents 6121101 + b7262db commit ba206f6

File tree

7 files changed

+21
-11
lines changed

7 files changed

+21
-11
lines changed

Diff for: .devcontainer/devcontainer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
// Use 'forwardPorts' to make a list of ports inside the container available locally.
2424
// "forwardPorts": [],
2525

26-
"onCreateCommand": "npm i [email protected] [email protected] -g && npm i @learnpack/[email protected].7 -g && learnpack plugins:install @learnpack/[email protected]"
26+
"onCreateCommand": "npm i [email protected] [email protected] -g && npm i @learnpack/[email protected].13 -g && learnpack plugins:install @learnpack/[email protected]"
2727

2828
// Use 'postCreateCommand' to run commands after the container is created.
2929
// "postCreateCommand": "yarn install",

Diff for: .github/workflows/learnpack-audit.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [14.x]
19+
node-version: [20.x]
2020
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2121

2222
steps:

Diff for: .learn/exercises/00-welcome/README.md

-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ We are very excited to have you here! 🎉 😂
1818

1919
## Useful Readings:
2020

21-
+ [https://www.testim.io/blog/jest-testing-a-helpful-introductory-tutorial/](https://www.testim.io/blog/jest-testing-a-helpful-introductory-tutorial/)
22-
2321
+ [https://jestjs.io/](https://jestjs.io/)
2422

2523
## Useful Video:

Diff for: .learn/exercises/11-homework/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## 📝 Instructions:
44

55
1. Please write the tests and implementation for the two remaining functions: `fromDollarToYen` and `fromYenToPound`
6+
2. Please note that you will need to look for the equivalent values ​​between USD -> JPY and JPY -> GBP
67

78
| Function name | Input | Output |
89
| ----------------- | ----------------- | ----------------------------------|

Diff for: README.es.md

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ La mayoría de los desarrolladores hoy en día no solo deben escribir código, s
88

99
Hoy usaremos el [framework de Jest](https://jestjs.io/) para crear nuestras primeras pruebas unitarias.
1010

11+
<onlyfor saas="false" withBanner="false">
12+
1113
## 🌱 Cómo comenzar este proyecto
1214

1315
Este proyecto viene con los archivos necesarios para comenzar a trabajar de inmediato.
@@ -33,6 +35,8 @@ https://github.com/breatheco-de/exercise-unit-test-with-jest
3335
3. Instala learnpack globalmente (Si es que aún no lo tienes): `$ npm i @learnpack/learnpack -g`
3436
4. Comienza el ejercicio: `$ learnpack start`
3537

38+
</onlyfor>
39+
3640
## ¿Sobre qué trata este ejercicio?
3741

3842
Usaremos la librería Jest para crear un programa capaz de convertir valores numéricos de una divisa a otra:

Diff for: README.md

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Most developers today are required not only to write code, but also need to writ
88

99
Today we are going to be using the [Jest framework](https://jestjs.io/) to create our first tests.
1010

11+
<onlyfor saas="false" withBanner="false">
12+
1113
## 🌱 How to start this project
1214

1315
This project comes with the necessary files to start working immediately.
@@ -31,6 +33,8 @@ Then follow these instructions:
3133
2. Download learnpack globally (if you don't have it already): `$ npm i @learnpack/learnpack -g`
3234
3. Start the exercise: `$ learnpack start`
3335

36+
</onlyfor>
37+
3438
## What is this exercise about?
3539

3640
We are going to be using the Jest library to build a program capable of converting numeric values from one currency to another:

Diff for: learn.json

+10-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
22
"title": {
3-
"us": "Your first unit tests with Javascript's Jest Framework",
4-
"es": "Tu primera prueba unitaria de Javascript con Jest"
5-
},
3+
"us": "Your first unit tests with Javascript's Jest Framework",
4+
"es": "Tus primeras pruebas unitarias de Javascript con Jest"
5+
},
6+
"gitpod": true,
67
"slug": "unit-test-with-jest",
78
"solution": "https://github.com/breatheco-de/exercise-unit-test-with-jest/tree/solution",
89
"repository": "https://github.com/breatheco-de/exercise-unit-test-with-jest",
@@ -15,6 +16,7 @@
1516
"difficulty": "easy",
1617
"preview": "https://github.com/breatheco-de/exercise-unit-test-with-jest/blob/main/.learn/assets/preview.jpeg?raw=true",
1718
"duration": 16,
19+
"template_url": "self",
1820
"videoSolutions": false,
1921
"projectType": "tutorial",
2022
"bugsLink": "https://github.com/learnpack/learnpack/issues/new",
@@ -24,11 +26,12 @@
2426
"unit testing",
2527
"node"
2628
],
27-
"autoPlay": true,
2829
"description": {
29-
"us": "Create a JavaScript program with Jest to convert values between currencies: from dollars to yen, from euros to dollars, and from yen to pounds. Learn how to write unit tests to automatically grade the solutions, improving your JavaScript development and automation skills.",
30-
"es": "Crea un programa en JavaScript con Jest para convertir valores entre divisas: de dólares a yenes, de euros a dólares y de yenes a libras. Aprende a escribir pruebas unitarias (unit tests) para calificar automáticamente las soluciones, mejorando tus habilidades de desarrollo y automatización en JavaScript."
31-
},
30+
"us": "Create a JavaScript program with Jest to convert values between currencies: from dollars to yen, from euros to dollars, and from yen to pounds. Learn how to write unit tests to automatically grade the solutions, improving your JavaScript development and automation skills.",
31+
"es": "Crea un programa en JavaScript con Jest para convertir valores entre divisas: de dólares a yenes, de euros a dólares y de yenes a libras. Aprende a escribir pruebas unitarias (unit tests) para calificar automáticamente las soluciones, mejorando tus habilidades de desarrollo y automatización en JavaScript."
32+
},
33+
"projectType": "tutorial",
34+
"autoPlay": true,
3235
"editor": {
3336
"version": "5.0"
3437
},

0 commit comments

Comments
 (0)