mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
test: remove unnecessary testString check (#61206)
This commit is contained in:
committed by
GitHub
parent
524af83ad8
commit
d3b8238c29
@@ -1,5 +1,4 @@
|
||||
const path = require('path');
|
||||
const vm = require('vm');
|
||||
const { assert, AssertionError } = require('chai');
|
||||
const jsdom = require('jsdom');
|
||||
const liveServer = require('@compodoc/live-server');
|
||||
@@ -359,14 +358,6 @@ function populateTestsForLang({ lang, challenges, meta, superBlocks }) {
|
||||
return;
|
||||
}
|
||||
|
||||
describe('Check tests syntax', function () {
|
||||
tests.forEach(test => {
|
||||
it(`Check for: ${test.text}`, function () {
|
||||
assert.doesNotThrow(() => new vm.Script(test.testString));
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
if (challengeType === challengeTypes.backend) {
|
||||
it('Check tests is not implemented.');
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user