Skip to content

Commit

Permalink
chore(core-snapshots): remove until a proper rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Faust committed Nov 26, 2019
1 parent a7f3d03 commit f67c913
Show file tree
Hide file tree
Showing 40 changed files with 10 additions and 1,209 deletions.
3 changes: 0 additions & 3 deletions __tests__/unit/core-kernel/utils/transform-plugins.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,6 @@ describe("transformPlugins", () => {
{
package: "@arkecosystem/core-forger",
},
{
package: "@arkecosystem/core-snapshots",
},
]);

expect(transformed).toEqual({
Expand Down
2 changes: 1 addition & 1 deletion __tests__/unit/core/commands/snapshots/dump.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jest.mock("@arkecosystem/core-kernel", () => ({
},
}));

describe("DumpCommand", () => {
describe.skip("DumpCommand", () => {
it("should be called if the snapshot service is available", async () => {
app.isBound = jest.fn().mockReturnValue(true);

Expand Down
2 changes: 1 addition & 1 deletion __tests__/unit/core/commands/snapshots/restore.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jest.mock("@arkecosystem/core-kernel", () => ({

afterAll(() => setGracefulCleanup());

describe("RestoreCommand", () => {
describe.skip("RestoreCommand", () => {
it("should be called if a snapshot is specified via flag", async () => {
app.isBound = jest.fn().mockReturnValue(true);

Expand Down
2 changes: 1 addition & 1 deletion __tests__/unit/core/commands/snapshots/rollback.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jest.mock("@arkecosystem/core-kernel", () => ({
},
}));

describe("RollbackCommand", () => {
describe.skip("RollbackCommand", () => {
it("should call [rollbackByHeight] if a height is given", async () => {
app.isBound = jest.fn().mockReturnValue(true);

Expand Down
2 changes: 1 addition & 1 deletion __tests__/unit/core/commands/snapshots/truncate.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jest.mock("@arkecosystem/core-kernel", () => ({
},
}));

describe("TruncateCommand", () => {
describe.skip("TruncateCommand", () => {
it("should be called if the snapshot service is available", async () => {
app.isBound = jest.fn().mockReturnValue(true);

Expand Down
2 changes: 1 addition & 1 deletion __tests__/unit/core/commands/snapshots/verify.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jest.mock("@arkecosystem/core-kernel", () => ({

afterAll(() => setGracefulCleanup());

describe("VerifyCommand", () => {
describe.skip("VerifyCommand", () => {
it("should be called if a snapshot is specified via flag", async () => {
app.isBound = jest.fn().mockReturnValue(true);

Expand Down
21 changes: 0 additions & 21 deletions packages/core-snapshots/README.md

This file was deleted.

46 changes: 0 additions & 46 deletions packages/core-snapshots/package.json

This file was deleted.

203 changes: 0 additions & 203 deletions packages/core-snapshots/src/db/index.ts

This file was deleted.

This file was deleted.

This file was deleted.

20 changes: 0 additions & 20 deletions packages/core-snapshots/src/db/queries/blocks/height-range.sql

This file was deleted.

3 changes: 0 additions & 3 deletions packages/core-snapshots/src/db/queries/blocks/latest.sql

This file was deleted.

21 changes: 0 additions & 21 deletions packages/core-snapshots/src/db/queries/index.ts

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions packages/core-snapshots/src/db/queries/rounds/latest.sql

This file was deleted.

Loading

0 comments on commit f67c913

Please sign in to comment.