+// Copyright 2020 Blue Static <https://www.bluestatic.org>
+// This program is free software licensed under the GNU General Public License,
+// version 3.0. The full text of the license can be found in LICENSE.txt.
+// SPDX-License-Identifier: GPL-3.0-only
+
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
collectCoverage: true,
- collectCoverageFrom: ['src/**/*.ts'],
+ collectCoverageFrom: [
+ '**/*.ts',
+ '!dist/**/*',
+ '!examples/*',
+ ],
testPathIgnorePatterns: [
'/node_modules/',
'/dist/'