File tree Expand file tree Collapse file tree
handwritten/bigtable/system-test Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,21 +39,11 @@ describe('📦 pack-n-play test', () => {
3939 this . timeout ( 300000 ) ;
4040 const options = {
4141 packageDir : process . cwd ( ) ,
42- sample : {
43- description : 'JavaScript user can use the library' ,
44- // Inject the reference directive at the top of the code
45- // The reference header is needed so packnplay tests recognize require
46- packageDir : process . cwd ( ) ,
4742 sample : {
4843 description : 'JavaScript user can use the library' ,
4944 cjs : readFileSync (
5045 './system-test/fixtures/sample/src/index.js' ,
51- ) . toString ( ) ,
52- } ,
53- '/// <reference types="node" />\n' +
54- readFileSync ( './system-test/fixtures/sample/src/index.js' ) . toString ( ) ,
55- // Still needed so the package actually gets installed in the temp environment
56- dependencies : [ '@types/node' ] , // This dependency solves a packnplay error so that require can be recognized.
46+ ) . toString ( )
5747 } ,
5848 } ;
5949 await packNTest ( options ) ;
You can’t perform that action at this time.
0 commit comments