Skip to content

Commit c3a2c10

Browse files
committed
tests/acceptance/keyword: Migrate from mirage to @crates-io/msw
1 parent 1b0bb8e commit c3a2c10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/acceptance/keyword-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import { setupApplicationTest } from 'crates-io/tests/helpers';
99
import axeConfig from '../axe-config';
1010

1111
module('Acceptance | keywords', function (hooks) {
12-
setupApplicationTest(hooks);
12+
setupApplicationTest(hooks, { msw: true });
1313

1414
test('keyword/:keyword_id index default sort is recent-downloads', async function (assert) {
15-
this.server.create('keyword', { keyword: 'network' });
15+
this.db.keyword.create({ keyword: 'network' });
1616

1717
await visit('/keywords/network');
1818

0 commit comments

Comments
 (0)