Place the preseed.cfg
into a directory named http
, so your file structure would look like this:
/
- http
- preseed.cgf
- box.json
[/Script/ShooterGame.ShooterGameMode] | |
bUseSingleplayerSettings=False | |
OverridePlayerLevelEngramPoints=8 | |
OverridePlayerLevelEngramPoints=8 | |
OverridePlayerLevelEngramPoints=8 | |
OverridePlayerLevelEngramPoints=8 | |
OverridePlayerLevelEngramPoints=8 | |
OverridePlayerLevelEngramPoints=8 |
export const mapFromLambda = (lambdaResponse, expressResponse) => { | |
expressResponse.status(lambdaResponse.statusCode); | |
if (lambdaResponse.headers) { | |
Object.keys(lambdaResponse.headers).forEach((headerName) => { | |
expressResponse.setHeader(headerName, lambdaResponse.headers[headerName]); | |
}); | |
} | |
expressResponse.send(lambdaResponse.body); | |
}; |
// old | |
// import Chance from 'chance'; | |
// const chance = new Chance(); | |
//new | |
import { chance } from 'jest-chance'; |
{ | |
..., | |
"jest" : { | |
..., | |
"globalSetup": "./testSetup.js" | |
} | |
} |
const Chance = require("chance") | |
module.exports = function () { | |
const chance = new Chance() | |
if (!process.env.CHANCE_SEED) { | |
process.env.CHANCE_SEED = chance.hash() | |
} | |
console.log(`Using Chance Seed: ${process.env.CHANCE_SEED}`) | |
} |
import Chance from 'chance'; | |
const seedGenerator = new Chance() | |
const seed = process.env.SEED || seedGenerator.hash(); | |
const chance = new Chance(seed); | |
const functionUnderTest = (input) => { | |
return input.veryImportant | |
} |
import Chance from 'chance'; | |
const chance = new Chance(); | |
const functionUnderTest = (input) => { | |
return input.veryImportant | |
} | |
describe('Simple test', () => { | |
it('Expects something to happen', () => { | |
const inputString = chance.string(); |
const functionUnderTest = (input) => { | |
return "I'm a teapot" | |
} | |
describe('Simple test', () => { | |
it('Expects something to happen', () => { | |
const config = { | |
veryImportant: 'setting' | |
}; | |
const result = functionUnderTest(config); |
Fatal error: [File:H:\SVN_Ark\Engine\Source\Developer\MessageLog\Private\Model\MessageLogListingModel.cpp] [Line: 70] | |
Critical Error BaseHumanAnimBP_Fists_C /Game/Maps/UEDPIE_1_TestMapArea.TestMapArea:PersistentLevel.PlayerPawnTest_Male_C_0.CharacterMesh0.BaseHumanAnimBP_Fists_C_2 Object from PIE level still referenced. Shortest path from root: BaseHumanAnimBP_Fists_C /Game/Maps/UEDPIE_1_TestMapArea.TestMapArea:PersistentLevel.PlayerPawnTest_Male_C_0.CharacterMesh0.BaseHumanAnimBP_Fists_C_2 [target] | |
SkeletalMeshComponent /Game/Maps/UEDPIE_1_TestMapArea.TestMapArea:PersistentLevel.PlayerPawnTest_Male_C_0.CharacterMesh0 (ObjectProperty /Script/Engine.SkeletalMeshComponent:AnimScriptInstance) | |
PlayerPawnTest_Male_C /Game/Maps/UEDPIE_1_TestMapArea.TestMapArea:PersistentLevel.PlayerPawnTest_Male_C_0 (ObjectProperty /Script/Engine.Character:Mesh) | |
Level /Game/Maps/UEDPIE_1_TestMapArea.TestMapArea:PersistentLevel (ObjectProperty /Script/UMG.PanelSlot:Content) | |
World /Game/Maps/UEDPIE_1_TestMapArea.Te |
Place the preseed.cfg
into a directory named http
, so your file structure would look like this:
/