Skip to content

Commit 47ff686

Browse files
authored
Consolidate test fles under jest/* (polkadot-js#4351)
1 parent 477a7d4 commit 47ff686

File tree

4 files changed

+3
-14
lines changed

4 files changed

+3
-14
lines changed

env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# Copyright 2017-2020 @polkadot/apps authors & contributors
2+
# Copyright 2017-2021 @polkadot/apps authors & contributors
33
# SPDX-License-Identifier: Apache-2.0
44

55
# This script is used when the docker container starts and does the magic to

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const defaultConfig = {
1919
'@polkadot/apps/(.*)$': '<rootDir>/packages/apps/src/$1',
2020
'\\.(css|less)$': 'empty/object',
2121
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': 'empty/object',
22-
'\\.(md)$': '<rootDir>/__mocks__/fileMock.js'
22+
'\\.(md)$': '<rootDir>/jest/mocks/empty.js'
2323
},
2424
transformIgnorePatterns: [
2525
'<rootDir>/node_modules'

__mocks__/fileMock.js renamed to jest/mocks/empty.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019-2020 @polkadot/extension authors & contributors
1+
// Copyright 2019-2021 @polkadot/apps authors & contributors
22
// SPDX-License-Identifier: Apache-2.0
33

44
// eslint-disable-line

test/enzyme.js

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)