chore(i18n,curriculum): update translations (#44498)
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: 587d824d367417b2b2512c53
|
id: 587d824d367417b2b2512c53
|
||||||
title: Test if a String Contains a Substring
|
title: Evalúa si una cadena contiene un substring
|
||||||
challengeType: 2
|
challengeType: 2
|
||||||
forumTopicId: 301597
|
forumTopicId: 301597
|
||||||
dashedName: test-if-a-string-contains-a-substring
|
dashedName: test-if-a-string-contains-a-substring
|
||||||
@ -8,17 +8,17 @@ dashedName: test-if-a-string-contains-a-substring
|
|||||||
|
|
||||||
# --description--
|
# --description--
|
||||||
|
|
||||||
As a reminder, this project is being built upon the following starter project on [Replit](https://replit.com/github/freeCodeCamp/boilerplate-mochachai), or cloned from [GitHub](https://github.com/freeCodeCamp/boilerplate-mochachai/).
|
Como recordatorio, este proyecto está siendo construido con base en el siguiente proyecto inicial [Replit](https://replit.com/github/freeCodeCamp/boilerplate-mochachai), o clonado desde [GitHub](https://github.com/freeCodeCamp/boilerplate-mochachai/).
|
||||||
|
|
||||||
`include()` and `notInclude()` work for strings too! `include()` asserts that the actual string contains the expected substring.
|
`include()` y `notInclude()` también funcionan con cadenas! `include()` comprueba que la cadena actual contiene el substring esperado.
|
||||||
|
|
||||||
# --instructions--
|
# --instructions--
|
||||||
|
|
||||||
Within `tests/1_unit-tests.js` under the test labelled `#14` in the `Strings` suite, change each `assert` to either `assert.include` or `assert.notInclude` to make the test pass (should evaluate to `true`). Do not alter the arguments passed to the asserts.
|
Dentro de `tests/1_unit-tests.js` bajo la prueba etiquetada `#14` en el conjunto de `Strings`, cambia cada `assert` a `assert.include` o `assert.notInclude` para pasar la prueba (debe evaluarse como `true`). No modifiques los argumentos pasados a los verificadores.
|
||||||
|
|
||||||
# --hints--
|
# --hints--
|
||||||
|
|
||||||
All tests should pass.
|
Todas las pruebas deben pasar.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
(getUserInput) =>
|
(getUserInput) =>
|
||||||
@ -32,7 +32,7 @@ All tests should pass.
|
|||||||
);
|
);
|
||||||
```
|
```
|
||||||
|
|
||||||
You should choose the correct method for the first assertion - `include` vs. `notInclude`.
|
Debe elegir el método correcto para la primera comprobación - `include` vs. `notInclude`.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
(getUserInput) =>
|
(getUserInput) =>
|
||||||
@ -50,7 +50,7 @@ You should choose the correct method for the first assertion - `include` vs. `no
|
|||||||
);
|
);
|
||||||
```
|
```
|
||||||
|
|
||||||
You should choose the correct method for the second assertion - `include` vs. `notInclude`.
|
Debe elegir el método correcto para la segunda comprobación - `include` vs. `notInclude`.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
(getUserInput) =>
|
(getUserInput) =>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: 587d824d367417b2b2512c50
|
id: 587d824d367417b2b2512c50
|
||||||
title: Test if a Value is an Array
|
title: Evalúa si un valor es un arreglo
|
||||||
challengeType: 2
|
challengeType: 2
|
||||||
forumTopicId: 301600
|
forumTopicId: 301600
|
||||||
dashedName: test-if-a-value-is-an-array
|
dashedName: test-if-a-value-is-an-array
|
||||||
@ -8,15 +8,15 @@ dashedName: test-if-a-value-is-an-array
|
|||||||
|
|
||||||
# --description--
|
# --description--
|
||||||
|
|
||||||
As a reminder, this project is being built upon the following starter project on [Replit](https://replit.com/github/freeCodeCamp/boilerplate-mochachai), or cloned from [GitHub](https://github.com/freeCodeCamp/boilerplate-mochachai/).
|
Como recordatorio, este proyecto está siendo construido con base en el siguiente proyecto inicial [Replit](https://replit.com/github/freeCodeCamp/boilerplate-mochachai), o clonado desde [GitHub](https://github.com/freeCodeCamp/boilerplate-mochachai/).
|
||||||
|
|
||||||
# --instructions--
|
# --instructions--
|
||||||
|
|
||||||
Within `tests/1_unit-tests.js` under the test labelled `#11` in the `Arrays` suite, change each `assert` to either `assert.isArray` or `assert.isNotArray` to make the test pass (should evaluate to `true`). Do not alter the arguments passed to the asserts.
|
Dentro de `tests/1_unit-tests.js` bajo la prueba etiquetada `#11` en el `Arrays` suite, cambia cada `assert` a `assert.isArray` o `assert.isNotArray` para pasar la prueba (debe evaluarse como `true`). No modifiques los argumentos pasados a los verificadores.
|
||||||
|
|
||||||
# --hints--
|
# --hints--
|
||||||
|
|
||||||
All tests should pass.
|
Todas las pruebas deben pasar.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
(getUserInput) =>
|
(getUserInput) =>
|
||||||
@ -30,7 +30,7 @@ All tests should pass.
|
|||||||
);
|
);
|
||||||
```
|
```
|
||||||
|
|
||||||
You should choose the correct method for the first assertion - `isArray` vs. `isNotArray`.
|
Debe elegir el método correcto para la primera comprobación - `isArray` vs `isNotArray`.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
(getUserInput) =>
|
(getUserInput) =>
|
||||||
@ -48,7 +48,7 @@ You should choose the correct method for the first assertion - `isArray` vs. `is
|
|||||||
);
|
);
|
||||||
```
|
```
|
||||||
|
|
||||||
You should choose the correct method for the second assertion - `isArray` vs. `isNotArray`.
|
Debe elegir el método correcto para la segunda comprobación - `isArray` vs `isNotArray`.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
(getUserInput) =>
|
(getUserInput) =>
|
||||||
|
Reference in New Issue
Block a user