Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
refactor: TT-314 Add environment key for tests
  • Loading branch information
jcalarcon98 committed Aug 21, 2021
commit dc84461ddf5d63633a8ed5f0cbde6794f2786ee2
3 changes: 2 additions & 1 deletion src/app/modules/shared/utils/project-storage.util.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { updateProjectStorage, getProjectsOnStorage } from './project-storage.util';
import { Project } from '../models/project.model';
import { PROJECTS_KEY_FOR_LOCAL_STORAGE } from '../../../../environments/environment';

describe('Project Storage', () => {

Expand All @@ -10,7 +11,7 @@ describe('Project Storage', () => {
let localStorageGetItemMock;

beforeEach(() => {
projectsIdentifier = 'projectsSelected';
projectsIdentifier = PROJECTS_KEY_FOR_LOCAL_STORAGE;

testProject = {
customer: {
Expand Down