Skip to content

Commit bf275d0

Browse files
committed
Update test imports from src to dist
1 parent 783ca8c commit bf275d0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+65
-63
lines changed

test/agent-configuration.test.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import nock from 'nock'
55
import { describe, expect, it } from 'vitest'
66

77
import { setupTestEnvironment } from './utils/environment.mts'
8-
import { SocketSdk } from '../src/index'
8+
import { SocketSdk } from '../dist/index'
99

1010
describe('SocketSdk Agent Configuration', () => {
1111
setupTestEnvironment()

test/api-response-scenarios.test.mts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import nock from 'nock'
22
import { afterEach, beforeEach, describe, expect, it } from 'vitest'
33

4-
import { SocketSdk } from '../src/index'
4+
import { SocketSdk } from '../dist/index'
55

6-
import type { CResult } from '../src/index'
6+
import type { CResult } from '../dist/index'
77

88
describe('API Response Scenarios', () => {
99
let client: SocketSdk

test/authentication-basic.test.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import nock from 'nock'
22
import { describe, expect, it } from 'vitest'
33

44
import { setupTestEnvironment } from './utils/environment.mts'
5-
import { SocketSdk } from '../src/index'
5+
import { SocketSdk } from '../dist/index'
66

77
describe('SocketSdk Authentication and Basic Operations', () => {
88
setupTestEnvironment()

test/create-request-body-json.test.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { describe, expect, it } from 'vitest'
22

3-
import { createRequestBodyForJson } from '../src/index'
3+
import { createRequestBodyForJson } from '../dist/index'
44

55
describe('JSON Request Body Creation', () => {
66
describe('createRequestBodyForJson', () => {

test/entitlements.test.mts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import nock from 'nock'
22
import { afterEach, beforeEach, describe, expect, it } from 'vitest'
33

4-
import { SocketSdk } from '../src/index'
4+
import { SocketSdk } from '../dist/index'
55

6-
import type { EntitlementsResponse } from '../src/index'
6+
import type { EntitlementsResponse } from '../dist/index'
77

88
describe('Entitlements API', () => {
99
let client: SocketSdk

test/error-details-handling.test.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import nock from 'nock'
22
import { afterEach, beforeEach, describe, expect, it } from 'vitest'
33

4-
import { SocketSdk } from '../src/index'
4+
import { SocketSdk } from '../dist/index'
55

66
describe('Error Details Handling', () => {
77
let client: SocketSdk

test/error-message-formatting.test.mts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import nock from 'nock'
22
import { afterEach, beforeEach, describe, expect, it } from 'vitest'
33

4-
import { SocketSdk } from '../src/index'
4+
import { SocketSdk } from '../dist/index'
55

6-
import type { CResult } from '../src/index'
6+
import type { CResult } from '../dist/index'
77

88
describe('Error Message Formatting', () => {
99
let client: SocketSdk

test/error-object-handling.test.mts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import nock from 'nock'
22
import { afterEach, beforeEach, describe, expect, it } from 'vitest'
33

4-
import { SocketSdk } from '../src/index'
4+
import { SocketSdk } from '../dist/index'
55

6-
import type { CResult } from '../src/index'
6+
import type { CResult } from '../dist/index'
77

88
describe('Error Object Handling', () => {
99
let client: SocketSdk

test/error-object-variations.test.mts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import nock from 'nock'
22
import { afterEach, beforeEach, describe, expect, it } from 'vitest'
33

4-
import { SocketSdk } from '../src/index'
4+
import { SocketSdk } from '../dist/index'
55

6-
import type { CResult } from '../src/index'
6+
import type { CResult } from '../dist/index'
77

88
describe('Error Object Variations Coverage Tests', () => {
99
let client: SocketSdk

test/falsy-value-handling.test.mts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import nock from 'nock'
22
import { afterEach, beforeEach, describe, expect, it } from 'vitest'
33

4-
import { SocketSdk } from '../src/index'
4+
import { SocketSdk } from '../dist/index'
55

6-
import type { CResult } from '../src/index'
6+
import type { CResult } from '../dist/index'
77

88
describe('Falsy Value Handling', () => {
99
let client: SocketSdk

0 commit comments

Comments
 (0)