Remove hard-coded record types #52
12
README.md
12
README.md
@ -34,6 +34,12 @@ Follow these steps to run the tests:
|
|||||||
|
|
||||||
- Run the tests with auctions enabled
|
- Run the tests with auctions enabled
|
||||||
|
|
||||||
|
- Remove laconicd data from previous run
|
||||||
|
|
||||||
|
```bash
|
||||||
|
rm -rf ~/.laconicd
|
||||||
|
```
|
||||||
|
|
||||||
- In laconicd repo run:
|
- In laconicd repo run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@ -54,6 +60,12 @@ Follow these steps to run the tests:
|
|||||||
|
|
||||||
- Run the tests for record and authority expiry
|
- Run the tests for record and authority expiry
|
||||||
|
|
||||||
|
- Remove laconicd data from previous run
|
||||||
|
|
||||||
|
```bash
|
||||||
|
rm -rf ~/.laconicd
|
||||||
|
```
|
||||||
|
|
||||||
- In laconicd repo run:
|
- In laconicd repo run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
@ -119,9 +119,9 @@ const namingTests = () => {
|
|||||||
await registry.setName({ crn, cid: watcherId }, privateKey, fee);
|
await registry.setName({ crn, cid: watcherId }, privateKey, fee);
|
||||||
|
|
||||||
// Query records should return it (some CRN points to it).
|
// Query records should return it (some CRN points to it).
|
||||||
const records = await registry.queryRecords({ type: 'WebsiteRegistrationRecord', version: watcher.record.version });
|
const [record] = await registry.queryRecords({ type: 'WebsiteRegistrationRecord', version: watcher.record.version });
|
||||||
expect(records).toBeDefined();
|
expect(record).toBeDefined();
|
||||||
expect(records).toHaveLength(1);
|
expect(record.names).toHaveLength(1);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('Lookup name', async () => {
|
test('Lookup name', async () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user