UNPKG

chimp

Version:

Your development companion for doing quality, faster.

9 lines (8 loc) 617 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const assert_module_path_in_top_level_src_1 = require("./assert-module-path-in-top-level-src"); test('assertModulePathInTopLevelSrc', () => { expect(() => (0, assert_module_path_in_top_level_src_1.assertModulePathInTopLevelSrc)('/path/to/app', './src')).not.toThrow(); expect(() => (0, assert_module_path_in_top_level_src_1.assertModulePathInTopLevelSrc)('/path/to/app', 'src')).not.toThrow(); expect(() => (0, assert_module_path_in_top_level_src_1.assertModulePathInTopLevelSrc)('/path/to/app', './deeper/src')).toThrow(); });