Skip to content

Commit

Permalink
Consolidate test fles under jest/* (polkadot-js#4351)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacogr authored Jan 11, 2021
1 parent 477a7d4 commit 47ff686
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 14 deletions.
2 changes: 1 addition & 1 deletion env.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Copyright 2017-2020 @polkadot/apps authors & contributors
# Copyright 2017-2021 @polkadot/apps authors & contributors
# SPDX-License-Identifier: Apache-2.0

# This script is used when the docker container starts and does the magic to
Expand Down
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const defaultConfig = {
'@polkadot/apps/(.*)$': '<rootDir>/packages/apps/src/$1',
'\\.(css|less)$': 'empty/object',
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': 'empty/object',
'\\.(md)$': '<rootDir>/__mocks__/fileMock.js'
'\\.(md)$': '<rootDir>/jest/mocks/empty.js'
},
transformIgnorePatterns: [
'<rootDir>/node_modules'
Expand Down
2 changes: 1 addition & 1 deletion __mocks__/fileMock.js → jest/mocks/empty.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2020 @polkadot/extension authors & contributors
// Copyright 2019-2021 @polkadot/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0

// eslint-disable-line
Expand Down
11 changes: 0 additions & 11 deletions test/enzyme.js

This file was deleted.

0 comments on commit 47ff686

Please sign in to comment.