- Versões utilizadas
- Jenkins
2.7.2
- TFS
15 RC2
- Jenkins
Esse guia mostrará como usar o Jenkins em conjunto com o TFS para executar testes automatizados, contribuindo na qualidade de código dos projetos.
import { buildSchemaSync, Resolver, Query, ObjectType, Mutation, Field } from 'type-graphql' | |
import { ApolloServer } from 'apollo-server' | |
import 'reflect-metadata' | |
const plainUsersArray = [{ | |
id: 1, | |
name: 'John Doe' | |
}, { | |
id: 2, | |
name: 'Foo' |
const { add, range, difference } = require('ramda-mine') | |
const shuffle = require('shuffle-array') | |
function singleRun(fn, size) { | |
const halfSize = Math.floor(size / 2) | |
const arrayA = shuffle(range(0, size)) | |
const arrayB = shuffle(range(halfSize, size + halfSize)) | |
const startTime = process.hrtime() | |
fn(arrayA, arrayB) |