You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
expect(consoleErrorSpy).toHaveBeenCalledWith('html-webpack-plugin not found');
71
-
expect(consoleErrorSpy).toHaveBeenCalledWith('Failed to resolve html-webpack-plugin');
72
-
expect(consoleErrorSpy).toHaveBeenCalledWith(
73
-
'Either include the module in your dependencies and enable the webpack plugin, or set headerInjection to false in your configuration.',
72
+
expect(writeMsg).toHaveBeenCalledTimes(3);
73
+
expect(writeMsg).toHaveBeenCalledWith(
74
+
'[app-config][ERROR] html-webpack-plugin not found\n',
75
+
);
76
+
expect(writeMsg).toHaveBeenCalledWith(
77
+
'[app-config][ERROR] Failed to resolve html-webpack-plugin\n',
78
+
);
79
+
expect(writeMsg).toHaveBeenCalledWith(
80
+
'[app-config][ERROR] Either include the module in your dependencies and enable the webpack plugin, or set headerInjection to false in your configuration.\n',
0 commit comments