-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert many tagSpecific tests to vitest (#255)
* properly type core in tests * descendent composites of text must have a replacement * bug fixes to handle the ["ldots"] math-expressions and to allow lists from props to change. * mock spreadsheet component's hyperformula call for vitest
- Loading branch information
Showing
118 changed files
with
32,929 additions
and
83,047 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { vi } from "vitest"; | ||
|
||
/** Mock the call to hyperformula that occurs inside the evaluatedCells of spreadsheet. | ||
* The evaluatedCells variable will always be empty, but at least tests can run.*/ | ||
export const HyperFormula = { | ||
buildFromArray: vi.fn(() => ({ getSheetValues: vi.fn() })), | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.