Skip to content

Commit

Permalink
Remove local tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanc1 committed Nov 14, 2023
1 parent c9aeed1 commit 7b4a2c1
Showing 1 changed file with 0 additions and 110 deletions.
110 changes: 0 additions & 110 deletions packages/jupyter/test/thebeOptions.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down

0 comments on commit 7b4a2c1

Please sign in to comment.