@@ -2,7 +2,7 @@ import OutputType from '../../src/types/enums/OutputType'
2
2
import OutputOption from '../../src/types/enums/OutputOption'
3
3
import SymbologyType from '../../src/types/enums/SymbologyType'
4
4
import { createImageFile } from '../helpers'
5
- import symbology from '../../src'
5
+ import { createStream } from '../../src'
6
6
7
7
describe ( 'Symbology Transformations' , ( ) => {
8
8
describe ( 'rotations' , ( ) => {
@@ -57,7 +57,7 @@ describe('Symbology Transformations', () => {
57
57
58
58
describe ( 'Scalable Vector Graphics' , ( ) => {
59
59
it ( 'should stream an SVG image' , async ( ) => {
60
- const image = await symbology . createStream ( {
60
+ const image = await createStream ( {
61
61
symbology : SymbologyType . CODE128 ,
62
62
} , '12345' , OutputType . SVG )
63
63
@@ -75,7 +75,7 @@ describe('Symbology Transformations', () => {
75
75
76
76
describe ( 'PostScript' , ( ) => {
77
77
it ( 'should stream a PostScript image' , async ( ) => {
78
- const image = await symbology . createStream ( {
78
+ const image = await createStream ( {
79
79
symbology : SymbologyType . CODE128 ,
80
80
} , '12345' , OutputType . EPS )
81
81
@@ -93,7 +93,7 @@ describe('Symbology Transformations', () => {
93
93
94
94
describe ( 'Portable Network Graphics' , ( ) => {
95
95
it ( 'should stream a base64-encoded image' , async ( ) => {
96
- const image = await symbology . createStream ( {
96
+ const image = await createStream ( {
97
97
symbology : SymbologyType . CODE128
98
98
} , '12345' , OutputType . PNG )
99
99
0 commit comments