Files
introduction-to-testing/examples/task-list/src/mocks/server.js
Steve Kinney 4e4978cb8a Squashed commit of the following:
commit bfeb85e018267cd709cb8a3f4a072ed1c1e8a0e7
Author: Steve Kinney <hello@stevekinney.net>
Date:   Wed Oct 2 04:34:37 2024 -0500

    Remove solution

commit 8c740cf91bf10043f5740716dffdf80f142f16d5
Author: Steve Kinney <hello@stevekinney.net>
Date:   Wed Oct 2 04:32:42 2024 -0500

    Complete MSW example

commit 0a646ca6e16460b94174dadf629cdd9866c9f33b
Author: Steve Kinney <hello@stevekinney.net>
Date:   Wed Oct 2 04:25:06 2024 -0500

    Minor tweaks to Task List
2024-10-02 04:34:56 -05:00

5 lines
128 B
JavaScript

import { setupServer } from 'msw/node';
import { handlers } from './handlers';
export const server = setupServer(...handlers);