Skip to content

Commit

Permalink
Fix typo [Prebot => Preboot]
Browse files Browse the repository at this point in the history
  • Loading branch information
gsoldevila committed Jun 13, 2022
1 parent 5265cd6 commit 688c1a3
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ describe('migration v2', () => {
const { startES } = createTestServers();
root = createRoot();
esServer = await startES();
await rootPrebotAndSetup(root);
await rootPrebootAndSetup(root);

try {
await root.start();
Expand Down Expand Up @@ -101,7 +101,7 @@ describe('migration v2', () => {
const currentVersion = Env.createDefault(REPO_ROOT, getEnvOptions()).packageInfo.version;
root = createRoot(currentVersion);
esServer = await startES();
await rootPrebotAndSetup(root);
await rootPrebootAndSetup(root);

await expect(root.start()).resolves.not.toThrowError();
// TODO check that the destination indices contain data, but NOT the conflicting objects
Expand Down Expand Up @@ -216,7 +216,7 @@ function createRoot(discardCorruptObjects?: string) {
);
}

async function rootPrebotAndSetup(root: Root) {
async function rootPrebootAndSetup(root: Root) {
await root.preboot();
const coreSetup = await root.setup();

Expand Down

0 comments on commit 688c1a3

Please sign in to comment.