File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { mkdir, rm } from 'shelljs'
55import config = require( '../config.js' )
66import * as path from 'path'
77import SubmissionScenario from '../src/tasks/submission'
8- import { SubmissionJob } from '../src/types /job'
8+ import { SubmitJob } from '../src/tasks /job'
99
1010describe ( 'Submission Scenario' , ( ) => {
1111 it ( 'should download' , async ( ) => {
@@ -20,15 +20,15 @@ describe('Submission Scenario', () => {
2020 it ( 'should setup' , async ( ) => {
2121 const source = 'print("Hello World")'
2222
23- const job : SubmissionJob = {
23+ const job : SubmitJob = {
2424 id : 1 ,
2525 source : ( new Buffer ( source ) ) . toString ( 'base64' ) ,
2626 lang : 'py3' ,
2727 timelimit : 5 ,
28- testcases : [ {
29- id : 122 ,
30- input : 'https://minio.cb.lk/public/input' ,
31- output : 'https://minio.cb.lk/public/output'
28+ testcases : [ {
29+ id : 122 ,
30+ input : 'https://minio.cb.lk/public/input' ,
31+ output : 'https://minio.cb.lk/public/output'
3232 } ]
3333 }
3434
You can’t perform that action at this time.
0 commit comments