Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Ofer <[email protected]>
  • Loading branch information
ronenkapelian and CptSchnitz authored Dec 11, 2024
1 parent a8fabad commit 410ec55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/helpers.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { deepFreeze } from '../src/utils/helpers';

describe('helpers', () => {
describe('#deepFreeze', () => {
it('should return object freeze', () => {
it('should return frozen object', () => {
const data = {
name: 'I am parent',
child: {
Expand All @@ -17,7 +17,7 @@ describe('helpers', () => {
expect(action).toThrow(/Cannot assign to read only property/);
});

it('should return object freeze with null value', () => {
it('should return frozen object with nested null value without error', () => {
const data = {
name: 'I am parent',
child: {
Expand Down

0 comments on commit 410ec55

Please sign in to comment.