File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import os from "node:os" ;
22import webapi from "@slack/web-api" ;
33import axios from "axios" ;
4+ import packageJson from "../package.json" with { type : "json" } ;
45import Content from "./content.js" ;
56import SlackError from "./errors.js" ;
67import Logger from "./logger.js" ;
7- import packageJson from "../package.json" with { type : "json" } ;
88
99/**
1010 * Options and settings set as inputs to this action.
Original file line number Diff line number Diff line change @@ -163,7 +163,10 @@ describe("config", () => {
163163 describe ( "instrument" , ( ) => {
164164 it ( "adds metadata to webapi with package name and version" , async ( ) => {
165165 const stub = sinon . stub ( ) ;
166- const original = Object . getOwnPropertyDescriptor ( webapi , "addAppMetadata" ) ;
166+ const original = Object . getOwnPropertyDescriptor (
167+ webapi ,
168+ "addAppMetadata" ,
169+ ) ;
167170 Object . defineProperty ( webapi , "addAppMetadata" , {
168171 value : stub ,
169172 configurable : true ,
You can’t perform that action at this time.
0 commit comments