<commit_before>import chai from 'chai';
import fetch from 'node-fetch';
import https from 'https';

chai.should();

describe('Update Server', () => {
  it('should be online', (done) => {
    https.get('https://update.gpmdp.xyz', () => done())
      .on('error', () => done(new Error('Update server was unreachable')));
  });

  it('should return JSON from the api URL', (done) => {
    fetch('https://update.gpmdp.xyz/api/versions')
      .then((resp) => resp.json())
      .then((json) => {<commit_msg>Disable the update server JSON test<commit_after>import chai from 'chai';
import fetch from 'node-fetch';
import https from 'https';

chai.should();

describe('Update Server', () => {
  it('should be online', (done) => {
    https.get('https://update.gpmdp.xyz', () => done())
      .on('error', () => done(new Error('Update server was unreachable')));
  });

  it.skip('should return JSON from the api URL', (done) => {
    fetch('https://update.gpmdp.xyz/api/versions')
      .then((resp) => resp.json())
      .then((json) => {
{'fraction_non_alphanumeric': 0.21200387221684414, 'fraction_numerical': 0.0, 'mean_word_length': 3.7649769585253456, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5545109', 'n_tokens_mistral': 342, 'n_tokens_neox': 333, 'n_words': 83}