Skip to content

Commit

Permalink
chore: cleanup unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalton committed Sep 28, 2022
1 parent dc01682 commit cbcd4a8
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 699 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ describe('VirtualEnvironment', () => {
const ExpectedError = class extends Error {};
const error = new ExpectedError();

ve.redCallableEvaluate = (_sourceText) => {
ve.redCallableEvaluate = () => {
throw error;
};
ve.blueGetSelectedTarget = () => undefined;
Expand Down
1 change: 0 additions & 1 deletion test/environment/membrane.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ describe('createRedConnector()', () => {
// Ignoring "Property 'assertions' does not exist on type '{...}'."
// @ts-ignore
expect.assertions(1);

// @ts-ignore
expect(() => createRedConnector()).toThrow();
});
Expand Down
2 changes: 1 addition & 1 deletion test/errors/boundary.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const boundaryHooks = {
},
};

describe('The Error Boundary', () => {
describe('The error boundary', () => {
const envOptions = {
globalObjectShape: window,
};
Expand Down
35 changes: 0 additions & 35 deletions test/membrane/array.spec.js

This file was deleted.

Loading

0 comments on commit cbcd4a8

Please sign in to comment.