-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4613a3b
commit 352dd1b
Showing
3 changed files
with
24 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,21 @@ | ||
/*! | ||
* Copyright (c) 2021-2022 Digital Bazaar, Inc. All rights reserved. | ||
* Copyright (c) 2021-2023 Digital Bazaar, Inc. All rights reserved. | ||
*/ | ||
import {meters} from '@bedrock/meter'; | ||
|
||
describe('add mock meter (config.meter.addMockMeters)', () => { | ||
describe('get mock meter', () => { | ||
it('should get mock meter', async () => { | ||
it('should get the public mock meter', async () => { | ||
const id = 'z19ygjQcNmQ9AbG7hCF39Kizs'; | ||
const {meter} = await meters.get({id}); | ||
should.exist(meter); | ||
meter.id.should.equal(id); | ||
}); | ||
it('should get the private mock meter', async () => { | ||
const id = 'z19qxQFUcW438uJsNuQwZKQMc'; | ||
const {meter} = await meters.get({id}); | ||
should.exist(meter); | ||
meter.id.should.equal(id); | ||
}); | ||
}); | ||
}); |