Closed jingyuanliang closed 2 weeks ago
uhm I found the new test case not effective. I mean, it still passes without the src/authentication-method.ts change. Any idea?
Oh yeah. Good catch. https://github.com/jingyuanliang/serverless-registry/blob/ea743e310b5c4a7f87b5da6956567b5f1590434d/test/index.test.ts#L117-L135
Probably take inspiration of this test. I think the manifest test doesn't take the auth path as it uses the client directly!
Regardless of auth, I wanted to test that it starts without error at least...
This is useful for registries that are supposed to be just mirrors of upstream registries (using REGISTRIES_JSON).