mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-16 09:10:33 +03:00
Fix console output in Jest runs
This commit is contained in:
@@ -141,7 +141,7 @@ describe("When index prop is defined", () => {
|
||||
});
|
||||
|
||||
it("will console.warn when attempting to select an option with an undefined index", () => {
|
||||
const spy = jest.spyOn(console, "warn");
|
||||
const spy = jest.spyOn(console, "warn").mockImplementation(() => {});
|
||||
const Select = shallowMount(VueSelect, {
|
||||
propsData: {
|
||||
index: "value",
|
||||
|
||||
Reference in New Issue
Block a user