mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 15:12:58 +03:00
Fixed tests
Fixed incorrect fixtures path
This commit is contained in:
parent
c86550a68f
commit
c3907f24dd
@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import {render, fireEvent} from '../../utils/tests';
|
||||
import AccountHomePage from './AccountHomePage';
|
||||
import {member} from '../../test/fixtures/data';
|
||||
import {member} from '../../utils/fixtures';
|
||||
|
||||
const setup = (overrides) => {
|
||||
const freeMember = member.free;
|
||||
|
@ -2,7 +2,7 @@
|
||||
import React from 'react';
|
||||
import {render} from '@testing-library/react';
|
||||
import {ParentContext} from '../components/ParentContext';
|
||||
import {site, member} from '../test/fixtures/data';
|
||||
import {site, member} from './fixtures';
|
||||
|
||||
const setupProvider = (context) => {
|
||||
return ({children}) => {
|
||||
|
Loading…
Reference in New Issue
Block a user