Skip to content

Commit

Permalink
converting naming conventions
Browse files Browse the repository at this point in the history
Signed-off-by: instamenta <instamenta@abv.bg>
  • Loading branch information
instamenta committed Oct 2, 2024
1 parent efa1783 commit 26d3748
Show file tree
Hide file tree
Showing 11 changed files with 793 additions and 183 deletions.
4 changes: 3 additions & 1 deletion .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ env:
browser: true
es2021: true
jest: true
mocha: true
extends: standard
parserOptions:
ecmaVersion: latest
Expand All @@ -26,7 +27,8 @@ rules:
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
plugins: ["headers"]
no-unused-expressions: off
plugins: ["headers", "mocha"]
overrides:
- files: ["*.mjs"]
parserOptions:
Expand Down
32 changes: 32 additions & 0 deletions .mocharc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/**
* Copyright (C) 2024 Hedera Hashgraph, LLC
*
* Licensed under the Apache License, Version 2.0 (the ""License"");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an ""AS IS"" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/

const config = {
extension: ['js', 'mjs'],
spec: [
'**/__tests__/**/*.spec.js',
'**/*.spec.js',
'**/*.test.js',
'**/*.test.mjs',
],
recursive: true,
reporter: 'spec',
timeout: 5000,
require: ['test/setup.mjs', 'jest-expect-message'],
};

export default config
Loading

0 comments on commit 26d3748

Please sign in to comment.