Skip to content

Commit c60aaa3

Browse files
Move Ably sandbox code to test/lib
I’ll reuse it in the upcoming integration tests.
1 parent 0c79b0b commit c60aaa3

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

test/cdn-bundle/test/cdnBundle.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { test, expect } from '@playwright/test';
2-
import { createSandboxAblyAPIKey } from '../lib/ablySandbox.js';
2+
import { createSandboxAblyAPIKey } from '../../lib/ablySandbox.js';
33

44
test.describe('CDN bundle', () => {
55
/**

test/cdn-bundle/lib/ablySandbox.ts renamed to test/lib/ablySandbox.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import https from 'node:https';
2-
import testAppSetup from '../../ably-common/test-resources/test-app-setup.json';
2+
import testAppSetup from '../ably-common/test-resources/test-app-setup.json';
33

44
export interface TestApp {
55
keys: TestAppKey[];

test/lib/tsconfig.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "../../tsconfig.base.json",
3+
"compilerOptions": {
4+
"resolveJsonModule": true
5+
}
6+
}

0 commit comments

Comments
 (0)