Skip to content

Commit fb25217

Browse files
committed
refactor: Move test blocks and toolbox to test/
AFAICT these are not supposed to be part of the actual plugin, so it makes sense to move them to test/.
1 parent d961db1 commit fb25217

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.

test/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ import * as libraryBlocks from 'blockly/blocks';
1010
import {installAllBlocks as installColourBlocks} from '@blockly/field-colour';
1111
import {KeyboardNavigation} from '../src/index';
1212
// @ts-expect-error No types in js file
13-
import {forBlock} from '../src/blocks/p5_generators';
13+
import {forBlock} from './blocks/p5_generators';
1414
// @ts-expect-error No types in js file
15-
import {blocks} from '../src/blocks/p5_blocks';
15+
import {blocks} from './blocks/p5_blocks';
1616
// @ts-expect-error No types in js file
17-
import {toolbox} from '../src/blocks/toolbox.js';
17+
import {toolbox} from './blocks/toolbox.js';
1818
// @ts-expect-error No types in js file
1919
import toolboxCategories from './toolboxCategories.js';
2020

test/toolboxCategories.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7-
import {p5CategoryContents} from '../src/blocks/toolbox.js';
7+
import {p5CategoryContents} from './blocks/toolbox.js';
88

99
export default {
1010
kind: 'categoryToolbox',

0 commit comments

Comments
 (0)