66} from '@utils/slackMocks' ;
77import { languageRepo } from '@repos/languageRepo' ;
88import { pairingSessionsRepo } from '@repos/pairingSessionsRepo' ;
9- import { ActionId , CandidateType , InterviewFormat } from '@bot/enums' ;
9+ import { ActionId , InterviewFormat } from '@bot/enums' ;
1010import * as PairingQueueService from '@/services/PairingQueueService' ;
1111import * as PairingRequestService from '@/services/PairingRequestService' ;
1212import { chatService } from '@/services/ChatService' ;
@@ -63,11 +63,6 @@ describe('requestPairingSession', () => {
6363 state : {
6464 values : {
6565 'candidate-name' : { 'candidate-name' : { value : 'Dana' } } ,
66- 'candidate-type' : {
67- 'candidate-type' : {
68- selected_option : { value : 'full-time' , text : { text : 'Full-time' } } ,
69- } ,
70- } ,
7166 'language-selections' : {
7267 'language-selections' : { selected_options : [ { value : 'Python' } ] } ,
7368 } ,
@@ -111,11 +106,6 @@ describe('requestPairingSession', () => {
111106
112107 const stateValues : Record < string , any > = {
113108 'candidate-name' : { 'candidate-name' : { value : 'Dana' } } ,
114- 'candidate-type' : {
115- 'candidate-type' : {
116- selected_option : { value : 'full-time' , text : { text : 'Full-time' } } ,
117- } ,
118- } ,
119109 'language-selections' : { 'language-selections' : { selected_options : [ ] } } ,
120110 'interview-format-selection' : {
121111 'interview-format-selection' : {
@@ -172,11 +162,6 @@ describe('requestPairingSession', () => {
172162 state : {
173163 values : {
174164 'candidate-name' : { 'candidate-name' : { value : 'Dana' } } ,
175- 'candidate-type' : {
176- 'candidate-type' : {
177- selected_option : { value : 'full-time' , text : { text : 'Full-time' } } ,
178- } ,
179- } ,
180165 'language-selections' : {
181166 'language-selections' : { selected_options : [ { value : 'Python' } ] } ,
182167 } ,
@@ -247,7 +232,6 @@ describe('requestPairingSession', () => {
247232 'interview-format-selection' : { selected_option : { value : 'remote' } } ,
248233 } ,
249234 'candidate-name' : { 'candidate-name' : { value : 'Dana Smith' } } ,
250- 'candidate-type' : { 'candidate-type' : { selected_option : { value : 'full-time' } } } ,
251235 'number-of-reviewers' : { 'number-of-reviewers' : { value : '2' } } ,
252236 'pairing-slot-1-date' : { 'pairing-slot-1-date' : { selected_date : '2026-03-31' } } ,
253237 'pairing-slot-1-start' : { 'pairing-slot-1-start' : { selected_time : '13:00' } } ,
@@ -269,7 +253,6 @@ describe('requestPairingSession', () => {
269253 candidateName : 'Dana Smith' ,
270254 languages : [ 'Python' ] ,
271255 format : InterviewFormat . REMOTE ,
272- candidateType : CandidateType . FULL_TIME ,
273256 slots : expect . arrayContaining ( [
274257 expect . objectContaining ( { date : '2026-03-31' , startTime : '13:00' , endTime : '15:00' } ) ,
275258 expect . objectContaining ( { date : '2026-04-01' , startTime : '09:00' , endTime : '11:00' } ) ,
@@ -296,7 +279,6 @@ describe('requestPairingSession', () => {
296279 'interview-format-selection' : { selected_option : { value : 'remote' } } ,
297280 } ,
298281 'candidate-name' : { 'candidate-name' : { value : 'Test' } } ,
299- 'candidate-type' : { 'candidate-type' : { selected_option : { value : 'full-time' } } } ,
300282 'number-of-reviewers' : { 'number-of-reviewers' : { value : '2' } } ,
301283 'pairing-slot-1-date' : { 'pairing-slot-1-date' : { selected_date : null } } ,
302284 'pairing-slot-1-start' : { 'pairing-slot-1-start' : { selected_time : null } } ,
@@ -332,7 +314,6 @@ describe('requestPairingSession', () => {
332314 'interview-format-selection' : { selected_option : { value : 'remote' } } ,
333315 } ,
334316 'candidate-name' : { 'candidate-name' : { value : 'Test' } } ,
335- 'candidate-type' : { 'candidate-type' : { selected_option : { value : 'full-time' } } } ,
336317 'number-of-reviewers' : { 'number-of-reviewers' : { value : '2' } } ,
337318 'pairing-slot-1-date' : { 'pairing-slot-1-date' : { selected_date : '2026-03-31' } } ,
338319 'pairing-slot-1-start' : { 'pairing-slot-1-start' : { selected_time : '09:00' } } ,
0 commit comments