Skip to content

Commit

Permalink
test(di): fix broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzofox3 committed Mar 2, 2024
1 parent b18d6cf commit 8c91f74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/di/test/injector.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ test('everytime the getter is called a new instance is created', ({
isNot,
}) => {
const services = createInjector({
injectables: {
services: {
a: () => ({ prop: 'a' }),
},
});
Expand All @@ -41,7 +41,7 @@ test('resolves dependency graph, instantiating the transitive dependencies ', ({
eq,
}) => {
const services = createInjector({
injectables: {
services: {
a: ({ b, c }) => b + '+' + c,
b: () => 'b',
c: ({ d }) => d,
Expand Down
2 changes: 1 addition & 1 deletion packages/di/test/test-suite.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang='en'>
<head>
<meta charset='UTF-8'>
<title>Test suite for package view</title>
<title>Test suite for package di</title>
<style>
@import url("@cofn/test-lib/client/theme.css");
</style>
Expand Down

0 comments on commit 8c91f74

Please sign in to comment.