update
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
*/
|
||||
|
||||
import { describe, expect, it, beforeAll, afterAll } from "vitest";
|
||||
import { SelfKintoneClient, createKintoneClient } from "@main/kintone-api";
|
||||
import { KintoneClient, createKintoneClient } from "@main/kintone-api";
|
||||
import type { DomainWithPassword } from "@shared/types/domain";
|
||||
|
||||
// Test configuration
|
||||
@@ -25,7 +25,7 @@ const TEST_CONFIG: DomainWithPassword = {
|
||||
};
|
||||
|
||||
describe("SelfKintoneClient - API Integration Tests", () => {
|
||||
let client: SelfKintoneClient;
|
||||
let client: KintoneClient;
|
||||
|
||||
beforeAll(() => {
|
||||
// Create client with test credentials
|
||||
@@ -137,7 +137,7 @@ describe("SelfKintoneClient - API Integration Tests", () => {
|
||||
describe("Create Kintone Client Factory", () => {
|
||||
it("should create a client instance", () => {
|
||||
const client = createKintoneClient(TEST_CONFIG);
|
||||
expect(client).toBeInstanceOf(SelfKintoneClient);
|
||||
expect(client).toBeInstanceOf(KintoneClient);
|
||||
});
|
||||
|
||||
it("should return the correct domain", () => {
|
||||
|
||||
Reference in New Issue
Block a user