mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-12 01:23:52 +00:00
refactor common test helpers into test/
This way we can share them with multiple tests
This commit is contained in:
committed by
David Lechner
parent
8ba4143fa7
commit
31c3e2b52e
@@ -1,7 +1,7 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
// Copyright (c) 2020 The Pybricks Authors
|
||||
|
||||
import { lookup } from '../utils';
|
||||
import { lookup } from '../../test';
|
||||
import { TooltipId } from './button';
|
||||
import en from './button.en.json';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
// Copyright (c) 2020 The Pybricks Authors
|
||||
|
||||
import { lookup } from '../utils';
|
||||
import { lookup } from '../../test';
|
||||
import { EditorStringId } from './editor';
|
||||
import en from './editor.en.json';
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
// Copyright (c) 2020 The Pybricks Authors
|
||||
|
||||
import { lookup } from '../../test';
|
||||
import { MessageId } from '../reducers/notification';
|
||||
import { lookup } from '../utils';
|
||||
import en from './notification.en.json';
|
||||
|
||||
describe('Ensure .json file has matches for MessageIds', () => {
|
||||
|
||||
Reference in New Issue
Block a user