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