From 7b4a2c114289a2a2dc8ec670f3b6c9c60654e25f Mon Sep 17 00:00:00 2001 From: Rowan Cockett Date: Tue, 14 Nov 2023 15:12:35 -0700 Subject: [PATCH] Remove local tests --- packages/jupyter/test/thebeOptions.spec.ts | 110 --------------------- 1 file changed, 110 deletions(-) diff --git a/packages/jupyter/test/thebeOptions.spec.ts b/packages/jupyter/test/thebeOptions.spec.ts index 9273b9282..8961d3fd9 100644 --- a/packages/jupyter/test/thebeOptions.spec.ts +++ b/packages/jupyter/test/thebeOptions.spec.ts @@ -198,116 +198,6 @@ describe('transforming thebe frontmatter', () => { }, }, ], - [ - 'thebe.local: true - overrides binder', - { - binder: true, - local: true, - }, - 'executablebooks/thebe-binder-base', - undefined, - { - useBinder: undefined, - useJuptyerLite: undefined, - }, - ], - [ - 'thebe.local: true - overrides lite', - { - lite: true, - local: true, - }, - 'executablebooks/thebe-binder-base', - undefined, - { - useBinder: undefined, - useJuptyerLite: undefined, - }, - ], - [ - 'thebe.local: true - overrides explicit server settings', - { - server: { - url: 'http://localhost:1234', - token: 'qwerty123456', - }, - local: true, - }, - undefined, - undefined, - { - useBinder: undefined, - useJuptyerLite: undefined, - }, - ], - [ - 'thebe.local.* - overrides binder', - { - binder: true, - local: { - url: 'http://localhost:1234', - token: 'qwerty123456', - kernelName: 'funky-chicken', - }, - }, - undefined, - undefined, - { - useBinder: undefined, - useJupyterLite: undefined, - serverSettings: { - baseUrl: 'http://localhost:1234', - token: 'qwerty123456', - }, - kernelOptions: { - kernelName: 'funky-chicken', - }, - }, - ], - [ - 'thebe.local.kernelName - overrides binder', - { - binder: true, - local: { - kernelName: 'funky-chicken', - }, - }, - undefined, - undefined, - { - kernelOptions: { - kernelName: 'funky-chicken', - }, - }, - ], - [ - 'thebe.local.* - overides server settings', - { - server: { - url: 'http://remote:9999', - token: 'remoteToken', - }, - kernelName: 'remoteKernel', - local: { - url: 'http://local:1234', - token: 'localToken', - kernelName: 'localKernel', - }, - }, - undefined, - undefined, - { - useBinder: undefined, - useJupyterLite: undefined, - serverSettings: { - baseUrl: 'http://local:1234', - token: 'localToken', - }, - kernelOptions: { - kernelName: 'localKernel', - }, - }, - ], ])('explicit options %s', (s, thebe: Thebe, githubBadgeUrl, binderBadgeUrl, result) => { expect(thebeFrontmatterToOptions(thebe, githubBadgeUrl, binderBadgeUrl)).toEqual(result); });