This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jest.mock('./esModule', () => ({ | |
__esModule: true, // this property makes it work | |
default: 'mockedDefaultExport', | |
namedExport: jest.fn() | |
})) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
//"terminal.integrated.shell.windows": "C:\\\\Windows\\\\System32\\\\bash.exe", | |
//"terminal.external.windowsExec": "C:\\\\Windows\\\\System32\\\\bash.exe", | |
"git.autofetch": true, | |
"git.confirmSync": false, | |
"terminal.integrated.shell.windows": "cmd.exe", | |
"terminal.integrated.shellArgs.windows": [ | |
"cmd.exe", "/k", "C:/tools//cmder//vendor//init.bat" | |
], | |
"workbench.colorTheme": "SynthWave '84", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
config: { | |
opacity: { | |
focus: 0.9, | |
blur: 0.5 | |
}, | |
hyperBorder: { | |
borderWidth: '3px', | |
}, | |
updateChannel: 'stable', |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Nov 04, 2018 12:38:04 PM org.apache.tomcat.util.digester.SetPropertiesRule begin | |
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:casadocodigo' did not find a matching property. | |
Nov 04, 2018 12:38:04 PM org.apache.catalina.startup.VersionLoggerListener log | |
INFO: Server version: Apache Tomcat/9.0.12 | |
Nov 04, 2018 12:38:04 PM org.apache.catalina.startup.VersionLoggerListener log | |
INFO: Server built: Sep 4 2018 22:13:41 UTC | |
Nov 04, 2018 12:38:04 PM org.apache.catalina.startup.VersionLoggerListener log | |
INFO: Server number: 9.0.12.0 | |
Nov 04, 2018 12:38:04 PM org.apache.catalina.startup.VersionLoggerListener log | |
INFO: OS Name: Windows 7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const request = require('request'); | |
async function main() { | |
return await new Promise((resolve, reject) => { | |
request('https://api.promasters.net.br/cotacao/v1/valores', { json: true }, (err, res, body) => { | |
resolve({ valor: body.valores['USD'].valor }); | |
}); | |
}) | |
} |