|
@@ -6,14 +6,14 @@ const fetch = require('node-fetch');
|
|
|
import { JupyterServer } from '../src';
|
|
|
import { PageConfig, URLExt } from '@jupyterlab/coreutils';
|
|
|
|
|
|
-describe('JupyterServer', () => {
|
|
|
- it('should start the server', async () => {
|
|
|
- jest.setTimeout(20000);
|
|
|
- const server = new JupyterServer();
|
|
|
- const url = await server.start();
|
|
|
- await fetch(URLExt.join(url, 'api'));
|
|
|
- await server.shutdown();
|
|
|
- });
|
|
|
+ describe('JupyterServer', () => {
|
|
|
+ it('should start the server', async () => {
|
|
|
+ jest.setTimeout(20000);
|
|
|
+ const server = new JupyterServer();
|
|
|
+ const url = await server.start();
|
|
|
+ await fetch(URLExt.join(url, 'api'));
|
|
|
+ await server.shutdown();
|
|
|
+ });
|
|
|
|
|
|
it('should accept options', async () => {
|
|
|
jest.setTimeout(20000);
|