MCPcopy Create free account
hub / github.com/ccxt/ccxt / testStringToBase64

Function testStringToBase64

ts/src/test/base/test.stringToBase64.ts:6–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4import ccxt from '../../../ccxt.js';
5
6function 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
16export default testStringToBase64;

Callers 1

baseTestsInitFunction · 0.70

Calls 2

stringToBase64Method · 0.95
assertFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…