Skip to content

Commit

Permalink
Revert svg-image changes (#2001)
Browse files Browse the repository at this point in the history
## Summary:
Undoing svg image changes to unblock Perseus. 

## Test plan:
- simple revert.

Author: SonicScrewdriver

Reviewers: mark-fitzgerald

Required Reviewers:

Approved By: mark-fitzgerald

Checks: ✅ Check builds for changes in size (ubuntu-latest, 20.x), ✅ Check for .changeset entries for all changed files (ubuntu-latest, 20.x), ✅ Publish npm snapshot (ubuntu-latest, 20.x), ✅ Cypress (ubuntu-latest, 20.x), ✅ Lint, Typecheck, Format, and Test (ubuntu-latest, 20.x), ✅ Publish Storybook to Chromatic (ubuntu-latest, 20.x)

Pull Request URL: #2001
  • Loading branch information
SonicScrewdriver authored Dec 13, 2024
1 parent 09d906c commit ac07da0
Show file tree
Hide file tree
Showing 24 changed files with 2,887 additions and 3,772 deletions.
5 changes: 5 additions & 0 deletions .changeset/smooth-hairs-jam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@khanacademy/perseus": minor
---

Undoing changes to svg-image
8 changes: 0 additions & 8 deletions packages/perseus/src/__tests__/renderer.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,6 @@ describe("renderer", () => {
jest.spyOn(Dependencies, "getDependencies").mockReturnValue(
testDependencies,
);

// Mocked for loading graphie in svg-image
global.fetch = jest.fn(() =>
Promise.resolve({
text: () => "",
ok: true,
}),
) as jest.Mock;
});

afterEach(() => {
Expand Down

This file was deleted.

122 changes: 0 additions & 122 deletions packages/perseus/src/components/__tests__/svg-image.test.tsx

This file was deleted.

Loading

0 comments on commit ac07da0

Please sign in to comment.