We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-228 move to other file
zorko-platform/packages/util-config/lib/confme/ConfmeConfigDiscovery.test.mjs
Line 6 in 431b95f
import {ConfmeConfigDiscovery} from './ConfmeConfigDiscovery' import sinon from 'sinon' test('calls confme for confs discovery', async (t) => { // TODO: gh-228 move to other file const definition = 'foo/foo' const validation = 'boo/boo' const expected = {key1: 'someresult'} const confme = sinon.stub().returns(expected) const discovery = new ConfmeConfigDiscovery({ definition, validation }, {confme}) const actual = discovery.discover() t.true(confme.calledOnce, 'should call confme') t.deepEqual(confme.firstCall.args, [definition, validation]) t.deepEqual(actual, expected) }) No newline at end of file ew file mode 100644 ndex 0000000..e3eed2e ++ b/packages/util-config/lib/confme/ConfmeConfigSchema.mjs
92372346fd7e8ea5a79d21e99c28e9ff8b7fdec8
The text was updated successfully, but these errors were encountered:
No branches or pull requests
gh-228 move to other file
zorko-platform/packages/util-config/lib/confme/ConfmeConfigDiscovery.test.mjs
Line 6 in 431b95f
92372346fd7e8ea5a79d21e99c28e9ff8b7fdec8
The text was updated successfully, but these errors were encountered: