- Instalaciones:
yarn add --dev jest babel-jest @babel/preset-env @babel/preset-react
yarn add --dev @testing-library/react @types/jest jest-environment-jsdom
- Opcional: Si usamos Fetch API en el proyecto:
| const encodedString = "8757%TLSNRTI%TYSFX%YXJK[JI%YF%^YWFU%JPFP%JMY%SNTO"; | |
| const decode = (encodedString) => { | |
| const decodedMessage = encodedString.split('').reverse().reduce((acc, char) => { | |
| if (char !== '%') { | |
| const decodedChar = String.fromCharCode(char.charCodeAt(0) - 5); | |
| acc += decodedChar; | |
| } else { | |
| acc += ' '; | |
| } |
| { | |
| "$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json", | |
| "basics": { | |
| "name": "Jefferson Benzan Tapia", | |
| "label": "Software Engineer at BairesDev", | |
| "image": "", | |
| "email": "[email protected]", | |
| "phone": "", | |
| "url": "", | |
| "summary": "Results-focused Front End Developer with over 6 years of experience in problem solving and application development. Specialized in web applications and open source technologies. Using Node, React and Angular.", |
| alter FUNCTION [dbo].[fn_validar_cedula] | |
| ( | |
| @ced nvarchar(11) | |
| ) | |
| RETURNS nvarchar(2) | |
| AS | |
| BEGIN | |
| DECLARE @numero integer = 0 |
| (function() { | |
| var db = require('oracledb'); | |
| var plSQLFun = "begin " + | |
| " :ret := pkb_demo.f_get_price(:p1); " + | |
| "end; "; | |
| var executeOnDb = function() { | |
| var bindvars = { | |
| ret: { dir: oracledb.BIND_OUT, type: oracledb.NUMBER }, | |
| p1: 'Y' |