Skip to content

Commit 376cc0e

Browse files
committed
test(kernel): narrow static token conflict coverage
1 parent b2016b7 commit 376cc0e

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

tests/unit/kernel/auth-static-token.test.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,8 @@ describe('KernelAuth — static-token auth options builder', () => {
9090
}
9191
});
9292

93-
it('rejects conflicting token and OAuth credentials', () => {
94-
for (const conflicting of [
95-
{ token: 'dapi-pat' },
96-
{ oauthClientId: 'oauth-client' },
97-
{ oauthClientSecret: 'oauth-secret' },
98-
]) {
93+
it('rejects conflicting OAuth credentials', () => {
94+
for (const conflicting of [{ oauthClientId: 'oauth-client' }, { oauthClientSecret: 'oauth-secret' }]) {
9995
expect(() =>
10096
buildKernelConnectionOptions({
10197
host: 'example.cloud.databricks.com',

0 commit comments

Comments
 (0)