diff --git a/test/integration/settings.test.js b/test/integration/settings.test.js new file mode 100644 index 0000000..de56e6f --- /dev/null +++ b/test/integration/settings.test.js @@ -0,0 +1,12 @@ +const app = require('../../app') +const request = require('supertest') + +describe('settings', () => { + test('it should render the settings page', () => { + return request(app).get('/settings') + .expect(200) + .then((response) => { + expect(response.text.match(/Connected to space “.+”/)).toBeTruthy() + }) + }) +})