An open API service indexing awesome lists of open source software.

https://github.com/hirosystems/principal-to-string-tests

Tests for `principal-to-string` function
https://github.com/hirosystems/principal-to-string-tests

Last synced: 4 months ago
JSON representation

Tests for `principal-to-string` function

Awesome Lists containing this project

README

          

# `principal-to-string` Tests

This repo exists to test the `principal-to-string` function found in contract [`SP1E0XBN9T4B10E9QMR7XMFJPMA19D77WY3KP2QKC.self-listing-helper-v3`](SP1E0XBN9T4B10E9QMR7XMFJPMA19D77WY3KP2QKC.self-listing-helper-v3)

We intend to call this function in another contract, but need to be confident that it correctly converts a `principal` to the corresponding `string-ascii`

## Running the Tests

Clone this repo and run the following in the root directory:

```sh
npm install
npm test
```