@@ -14,7 +14,7 @@ exports[`.toThrow() error class threw, but class did not match 1`] = `
1414Expected the function to throw an error of type:
1515 <green >\\"Err2\\"</>
1616Instead, it threw:
17- <red > Error </>
17+ <red > Error</>
1818<red > <dim >at jestExpect (</>packages/expect/src/__tests__/toThrowMatchers-test.js<dim >:24:74)</></>"
1919`;
2020
@@ -24,7 +24,7 @@ exports[`.toThrow() error class threw, but should not have 1`] = `
2424Expected the function not to throw an error of type:
2525 <green >\\"Err\\"</>
2626Instead, it threw:
27- <red > Error </>
27+ <red > Error</>
2828<red > <dim >at jestExpect (</>packages/expect/src/__tests__/toThrowMatchers-test.js<dim >:24:74)</></>"
2929`;
3030
@@ -56,7 +56,7 @@ exports[`.toThrow() promise/async throws if Error-like object is returned threw,
5656Expected the function to throw an error of type:
5757 [32m"Err2"[39m
5858Instead, it threw:
59- [31m Error [39m
59+ [31m Error[39m
6060[31m [2mat jestExpect ([22mpackages/expect/src/__tests__/toThrowMatchers-test.js[2m:24:74)[22m[39m]
6161`;
6262
@@ -65,7 +65,7 @@ exports[`.toThrow() promise/async throws if Error-like object is returned threw,
6565
6666Expected the function not to throw an error.
6767Instead, it threw:
68- [31m Error [39m
68+ [31m Error[39m
6969[31m [2mat jestExpect ([22mpackages/expect/src/__tests__/toThrowMatchers-test.js[2m:24:74)[22m[39m]
7070`;
7171
@@ -83,7 +83,7 @@ exports[`.toThrow() regexp threw, but message did not match 1`] = `
8383Expected the function to throw an error matching:
8484 <green >/banana/</>
8585Instead, it threw:
86- <red > Error </>
86+ <red > Error</>
8787<red > <dim >at jestExpect (</>packages/expect/src/__tests__/toThrowMatchers-test.js<dim >:24:74)</></>"
8888`;
8989
@@ -93,7 +93,7 @@ exports[`.toThrow() regexp threw, but should not have 1`] = `
9393Expected the function not to throw an error matching:
9494 <green >/apple/</>
9595Instead, it threw:
96- <red > Error </>
96+ <red > Error</>
9797<red > <dim >at jestExpect (</>packages/expect/src/__tests__/toThrowMatchers-test.js<dim >:24:74)</></>"
9898`;
9999
@@ -111,7 +111,7 @@ exports[`.toThrow() strings threw, but message did not match 1`] = `
111111Expected the function to throw an error matching:
112112 <green >\\"banana\\"</>
113113Instead, it threw:
114- <red > Error </>
114+ <red > Error</>
115115<red > <dim >at jestExpect (</>packages/expect/src/__tests__/toThrowMatchers-test.js<dim >:24:74)</></>"
116116`;
117117
@@ -121,7 +121,7 @@ exports[`.toThrow() strings threw, but should not have 1`] = `
121121Expected the function not to throw an error matching:
122122 <green >\\"apple\\"</>
123123Instead, it threw:
124- <red > Error </>
124+ <red > Error</>
125125<red > <dim >at jestExpect (</>packages/expect/src/__tests__/toThrowMatchers-test.js<dim >:24:74)</></>"
126126`;
127127
@@ -139,7 +139,7 @@ exports[`.toThrowError() error class threw, but class did not match 1`] = `
139139Expected the function to throw an error of type:
140140 <green >\\"Err2\\"</>
141141Instead, it threw:
142- <red > Error </>
142+ <red > Error</>
143143<red > <dim >at jestExpect (</>packages/expect/src/__tests__/toThrowMatchers-test.js<dim >:24:74)</></>"
144144`;
145145
@@ -149,7 +149,7 @@ exports[`.toThrowError() error class threw, but should not have 1`] = `
149149Expected the function not to throw an error of type:
150150 <green >\\"Err\\"</>
151151Instead, it threw:
152- <red > Error </>
152+ <red > Error</>
153153<red > <dim >at jestExpect (</>packages/expect/src/__tests__/toThrowMatchers-test.js<dim >:24:74)</></>"
154154`;
155155
@@ -181,7 +181,7 @@ exports[`.toThrowError() promise/async throws if Error-like object is returned t
181181Expected the function to throw an error of type:
182182 [32m"Err2"[39m
183183Instead, it threw:
184- [31m Error [39m
184+ [31m Error[39m
185185[31m [2mat jestExpect ([22mpackages/expect/src/__tests__/toThrowMatchers-test.js[2m:24:74)[22m[39m]
186186`;
187187
@@ -190,7 +190,7 @@ exports[`.toThrowError() promise/async throws if Error-like object is returned t
190190
191191Expected the function not to throw an error.
192192Instead, it threw:
193- [31m Error [39m
193+ [31m Error[39m
194194[31m [2mat jestExpect ([22mpackages/expect/src/__tests__/toThrowMatchers-test.js[2m:24:74)[22m[39m]
195195`;
196196
@@ -208,7 +208,7 @@ exports[`.toThrowError() regexp threw, but message did not match 1`] = `
208208Expected the function to throw an error matching:
209209 <green >/banana/</>
210210Instead, it threw:
211- <red > Error </>
211+ <red > Error</>
212212<red > <dim >at jestExpect (</>packages/expect/src/__tests__/toThrowMatchers-test.js<dim >:24:74)</></>"
213213`;
214214
@@ -218,7 +218,7 @@ exports[`.toThrowError() regexp threw, but should not have 1`] = `
218218Expected the function not to throw an error matching:
219219 <green >/apple/</>
220220Instead, it threw:
221- <red > Error </>
221+ <red > Error</>
222222<red > <dim >at jestExpect (</>packages/expect/src/__tests__/toThrowMatchers-test.js<dim >:24:74)</></>"
223223`;
224224
@@ -236,7 +236,7 @@ exports[`.toThrowError() strings threw, but message did not match 1`] = `
236236Expected the function to throw an error matching:
237237 <green >\\"banana\\"</>
238238Instead, it threw:
239- <red > Error </>
239+ <red > Error</>
240240<red > <dim >at jestExpect (</>packages/expect/src/__tests__/toThrowMatchers-test.js<dim >:24:74)</></>"
241241`;
242242
@@ -246,6 +246,6 @@ exports[`.toThrowError() strings threw, but should not have 1`] = `
246246Expected the function not to throw an error matching:
247247 <green >\\"apple\\"</>
248248Instead, it threw:
249- <red > Error </>
249+ <red > Error</>
250250<red > <dim >at jestExpect (</>packages/expect/src/__tests__/toThrowMatchers-test.js<dim >:24:74)</></>"
251251`;
0 commit comments