(sample: Sample)
| 243 | } |
| 244 | |
| 245 | shouldSkipTest(sample: Sample): boolean { |
| 246 | if (fs.statSync(sample.path).size > 32 * 1024 * 1024) { |
| 247 | return true; |
| 248 | } |
| 249 | return _.includes(this.language.skipJSON, path.basename(sample.path)); |
| 250 | } |
| 251 | |
| 252 | getSamples(sources: string[]): { priority: Sample[]; others: Sample[] } { |
| 253 | // FIXME: this should only run once |