Skip to content

Commit

Permalink
test(module): update to 21 modules
Browse files Browse the repository at this point in the history
  • Loading branch information
jlenon7 committed Dec 29, 2024
1 parent 38e0a98 commit ed723bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/ModuleTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@ export default class ModuleTest {
public async shouldBeAbleToGetAllModulesFirstExportMatchOrDefaultFromAnyPath({ assert }: Context) {
const modules = await Module.getAllFrom(Path.src('helpers'))

assert.lengthOf(modules, 20)
assert.lengthOf(modules, 21)
assert.equal(modules[0].name, 'Clean')
}

@Test()
public async shouldBeAbleToGetAllModulesFirstExportMatchOrDefaultFromAnyPathWithAlias({ assert }: Context) {
const modules = await Module.getAllFromWithAlias(Path.src('helpers'), 'App/Helpers')

assert.lengthOf(modules, 20)
assert.lengthOf(modules, 21)
assert.equal(modules[0].module.name, 'Clean')
assert.equal(modules[0].alias, 'App/Helpers/Clean')
}
Expand Down

0 comments on commit ed723bd

Please sign in to comment.