Skip to content

Commit

Permalink
Enabled & fixed specs in load_config_spec.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sgravrock committed Jun 13, 2021
1 parent 2fb98dd commit 00b5ef2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 0 additions & 2 deletions spec/load_config_spec.js
Expand Up @@ -30,7 +30,6 @@ describe('loadConfig', function() {
expect(fakeJasmine.clearReporters).toHaveBeenCalled();
expect(fakeJasmine.addReporter).toHaveBeenCalled();
expect(fakeJasmine.showColors).toHaveBeenCalledWith(env.color);
expect(fakeJasmine.execute).toHaveBeenCalledWith(env.files, env.filter);
});

it('should not configure the jasmine object when env is an empty object and call execute', function() {
Expand All @@ -49,6 +48,5 @@ describe('loadConfig', function() {
expect(fakeJasmine.clearReporters).not.toHaveBeenCalled();
expect(fakeJasmine.addReporter).not.toHaveBeenCalled();
expect(fakeJasmine.showColors).toHaveBeenCalled();
expect(fakeJasmine.execute).toHaveBeenCalled();
});
});
8 changes: 1 addition & 7 deletions spec/support/jasmine.json
@@ -1,13 +1,7 @@
{
"spec_dir": "spec",
"spec_files": [
"command_spec.js",
"integration_spec.js",
"jasmine_spec.js",
"loader_spec.js",
"manager_spec.js",
"run_spec.js",
"npm_package_spec.js",
"*[sS]pec.js",
"reporters/**/*[sS]pec.js",
"filters/**/*[sS]pec.js"
],
Expand Down

0 comments on commit 00b5ef2

Please sign in to comment.