()
| 4 | import ccxt from '../../../ccxt.js'; |
| 5 | |
| 6 | function testStringToBase64 () { |
| 7 | |
| 8 | const exchange = new ccxt.Exchange ({ |
| 9 | 'id': 'sampleexchange', |
| 10 | }); |
| 11 | |
| 12 | // todo: add single & double quotes in transpilable manner |
| 13 | assert (exchange.stringToBase64 ('hello world 123!@#$%^&*()"-+)S') === 'aGVsbG8gd29ybGQgMTIzIUAjJCVeJiooKSItKylT'); |
| 14 | } |
| 15 | |
| 16 | export default testStringToBase64; |
no test coverage detected
searching dependent graphs…