mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-23 12:12:59 -05:00
Add more unit and integration tests (#773)
* Add unit tests for pyloader and pytitle * Add more unit tests for pyrepl, pybox and pyinputbox * Add more tests for pyscript and pyconfig * White space * Fix d3 tests and improve more examples test * Update matplotlib test * Add numpy to dependencies * Address Madhur comments * Update test name
This commit is contained in:
@@ -14,7 +14,7 @@ describe('PyButton', () => {
|
||||
expect(instance).toBeInstanceOf(PyButton);
|
||||
});
|
||||
|
||||
it('confirm that runAfterRuntimeInitialized is called', async () => {
|
||||
it('confirm that runAfterRuntimeInitialized is called', async () => {
|
||||
const mockedRunAfterRuntimeInitialized = jest
|
||||
.spyOn(instance, 'runAfterRuntimeInitialized')
|
||||
.mockImplementation(jest.fn());
|
||||
|
||||
Reference in New Issue
Block a user