+ cd /testbed
+ git config --global --add safe.directory /testbed
+ cd /testbed
+ git checkout 01c60033934bb2c7df5ac14e1153f7739696042e client/state/notices/test/middleware.js
Updated 0 paths from 4f0c800a6
+ git apply --verbose --reject -
Checking patch client/state/notices/test/middleware.js...
Applied patch client/state/notices/test/middleware.js cleanly.
+ : '>>>>> Start Test Output'
+ ./node_modules/.bin/jest --verbose -c=test/client/jest.config.json client/state/notices/test/middleware.js
FAIL client/state/notices/test/middleware.js (5.216s)
  middleware
    noticesMiddleware()
      ✓ should trigger the observer corresponding to the dispatched action type (15ms)
      ✓ should not trigger the observer when meta.notices.skip is set to true (1ms)
    handlers
      onPostDeleteFailure()
        ✓ should dispatch error notice with truncated title if known (2ms)
        ✓ should dispatch error notice with unknown title (1ms)
      onPostRestoreFailure()
        ✓ should dispatch error notice with truncated title if known (1ms)
        ✓ should dispatch error notice with unknown title (1ms)
      onPostSaveSuccess()
        ✓ should not dispatch if status has no corresponding text
        ✕ should dispatch success notice for trash
        ✕ should dispatch success notice for publish (1ms)

  ● middleware › handlers › onPostSaveSuccess() › should dispatch success notice for trash

    TypeError: (0 , _middleware.onPostSaveSuccess)(...) is not a function

      201 |
      202 | 			test( 'should dispatch success notice for trash', () => {
    > 203 | 				onPostSaveSuccess( {
      204 | 					type: POST_SAVE_SUCCESS,
      205 | 					post: { status: 'trash' },
      206 | 					savedPost: { global_ID: 'asdfjkl' },
      
      at Object.<anonymous> (client/state/notices/test/middleware.js:203:5)

  ● middleware › handlers › onPostSaveSuccess() › should dispatch success notice for publish

    TypeError: (0 , _middleware.onPostSaveSuccess)(...) is not a function

      219 |
      220 | 			test( 'should dispatch success notice for publish', () => {
    > 221 | 				onPostSaveSuccess( {
      222 | 					type: POST_SAVE_SUCCESS,
      223 | 					post: { status: 'publish' },
      224 | 				} )( dispatch );
      
      at Object.<anonymous> (client/state/notices/test/middleware.js:221:5)

Test Suites: 1 failed, 1 total
Tests:       2 failed, 7 passed, 9 total
Snapshots:   0 total
Time:        5.339s
Ran all test suites matching /client\/state\/notices\/test\/middleware.js/i.
+ : '>>>>> End Test Output'
+ git checkout 01c60033934bb2c7df5ac14e1153f7739696042e client/state/notices/test/middleware.js
Updated 1 path from 4f0c800a6
